/* style.css */

/* Genel Ayarlar */

/* 
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
  overflow-x: hidden;
  /* TÃ¼m yatay scroll'u engeller */
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
}

.section {
  padding: 4rem 0;
}

h1,
h2,
h3 {
  margin-bottom: 1rem;
  text-align: center;
}

h2 {
  font-size: 2.2rem;
}

p {
  margin-bottom: 1rem;
  text-align: center;
}

.btn {
  background-color: #6cc3c6;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 1rem;
}

/* Hero */
.hero {
  padding: 0;
  height: 85vh;
  color: white;
  position: relative;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  /* Ä°Ã§erideki absolute konumlandÄ±rma iÃ§in gerekli */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  /* Dikeyde ortalamak iÃ§in eklendi */
  justify-content: center;
  text-align: center;
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  /* Metnin arkasÄ±nda kalmasÄ± iÃ§in */
}

.swiper-slide .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff !important;
  --swiper-navigation-size: 50px;
}

.swiper-pagination-bullet {
  color: #ffffff !important;
  width: 30px;
  /* Boyut kÃ¼Ã§Ã¼ltÃ¼ldÃ¼ */
  height: 30px;
  /* Boyut kÃ¼Ã§Ã¼ltÃ¼ldÃ¼ */
}

.swiper-pagination-bullet-active {
  background: #ffffff;
  /* Beyaz yapÄ±ldÄ± */
}


/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 sÃ¼tun */
  gap: 1.5rem;
}


.card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #333;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}



/* Tabs */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background-color: #eee;
  cursor: pointer;
}

.tab.active {
  background-color: #6cc3c6;
  color: white;
  border-color: #6cc3c6;
}

.tab-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.universiteler {
  background-color: #ffffff;
}


.basvuru {
  background-color: #f9f9f9;
}



/* Video */
.video-row {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}


.video-wrapper {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}


/* Footer */
.footer {
  background-color: #454747;
  color: white;
  text-align: center;
  padding: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  /* Ortadaki sÃ¼tun geniÅŸ */
  align-items: center;
  text-align: center;
}

.footer-col {
  padding: 0.5rem;
}

.center-col p {
  margin: 0;
}

.university-logos {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.university-logos img {
  height: 50px;
  object-fit: contain;
}


.animated-text {
  white-space: pre-wrap;
  line-height: 1.2;
  display: inline-block;
  text-align: center;
}

.animated-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.animated-text p {
  font-size: 1.5rem;
}

.swiper-slide .animated-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  /* Metin her zaman en Ã¼stte */
}

.hero-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-media .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-media .animated-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Announcements Section */
.announcements-section {
  background-color: #f9f9f9;
}

.announcement-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slide-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* TÄ±klanabilir alan, metnin arkasÄ±nda */
}

.swiper-slide .animated-text h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}



.threeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.threeone,
.threetwo,
.threethree {
  flex: 1 1 calc(33% - 1rem);
  background-color: #f9f9f9;
  border-bottom: 15px solid #6cc3c6;
  border-radius: 8px;
  color: black;
  padding: 2rem;
  text-align: center;
  transition: background 0.3s ease;
}

.threeone:hover,
.threetwo:hover,
.threethree:hover {
  background-color: #f5cb22;
  color: black;
}

.circlepic {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.circlepic img {
  width: 60%;
  height: auto;
  transition: transform 0.6s;
}

.threeone:hover img,
.threetwo:hover img,
.threethree:hover img {
  transform: rotateY(360deg);
}

.circletext h4 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}

.circletext p {
  font-size: 0.9rem;
  color: #000000;
}

.threeone:hover .circletext p,
.threetwo:hover .circletext p,
.threethree:hover .circletext p {
  color: #000;
}

@media (max-width: 768px) {
  .threeholder {
    flex-direction: column;
  }
}

/* Neden EskiÅŸehir kart hover efekti */
.card {
  position: relative;
  background: white;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.card:hover {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  animation-name: example;
  animation-duration: 0.25s;
  border-left: 8px solid #6cc3c6;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

@keyframes example {
  0% {
    border-left: 2px solid #074749;
  }

  25% {
    border-left: 3px solid #06767a;
  }

  50% {
    border-left: 4px solid #06767a;
  }

  100% {
    border-left: 5px solid #05999e;
  }
}



.rotate-text span {
  display: inline-block;
  opacity: 0;
  transform: rotateX(90deg) translateY(20px);
  transform-origin: bottom;
}

.basvuru-row {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.basvuru-card {
  background-color: #fff;
  flex: 1 1 48%;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
  max-height: 250px;
}

.basvuru-card h3 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.4rem;
}

.basvuru-card ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  margin: 0;
}

.basvuru-card ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* GeniÅŸleyen kart genel stil */
/* Kutu genel yapÄ±sÄ± */
.hover-expand {
  max-height: 120px;
  background-color: #6cc3c6;
  color: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
  padding: 2rem;
}

/* BaÅŸlÄ±k */
.hover-expand h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: inherit;
}

/* AÃ§Ä±lacak liste: ilk durumda gÃ¶rÃ¼nmez */
.hover-expand ul {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
  list-style-type: disc;
  padding-left: 1.5rem;
}

/* Hover anÄ±nda kutu bÃ¼yÃ¼r ve renk sarı olur */
.hover-expand:hover {
  max-height: 500px;
  background-color: #f5cb22;
  color: black;
}

/* Hover anÄ±nda liste gÃ¶rÃ¼nÃ¼r hale gelir */
.hover-expand:hover ul,
.hover-expand:hover .exchange-logos {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Liste yazÄ±larÄ± hover'da siyah kalmalÄ± */
.hover-expand:hover h3 {
  color: black;
}

.hover-expand:hover ul li {
  color: black;
}

/* Exchange Students Box Özel Stilleri */
.exchange-logos {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.exchange-logos .uni-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: black;
  transition: transform 0.2s ease, color 0.2s ease;
  font-weight: 500;
  font-size: 0.85rem;
  text-align: center;
}

.exchange-logos .uni-link:hover {
  transform: translateX(5px);
  color: #6cc3c6;
}

.exchange-logos .uni-link img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Full-time Students Button Card */
.fulltime-button-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #6cc3c6;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  max-height: 120px;
}

.fulltime-button-card h3 {
  margin: 0;
  color: white;
  font-size: 1.8rem;
}

.fulltime-button-card:hover {
  background-color: #58adb0;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Fulltime Cards Section */
.fulltime-section {
  padding: 4rem 0;
}

.fulltime-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.fulltime-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 5px solid #6cc3c6;
}

.fulltime-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-bottom-color: #f5cb22;
}

.fulltime-card .logo-container {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.fulltime-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.fulltime-card:hover img {
  transform: scale(1.05);
}

.fulltime-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 600;
  min-height: 3.6rem;
  /* Ensures consistent height for varying name lengths */
  display: flex;
  align-items: center;
  justify-content: center;
}

.fulltime-btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fulltime-btn-group .website-btn {
  margin-top: 0;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  .fulltime-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fulltime-cards-container {
    grid-template-columns: 1fr;
  }

  .fulltime-card h3 {
    min-height: auto;
  }
}

/* Site Header ve Navigation */
.site-header {
  padding: 1rem 2rem;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  /* menÃ¼ yÃ¼ksekliÄŸine gÃ¶re ayarlanabilir */
  background: linear-gradient(to bottom, #293133, transparent);
  pointer-events: none;
  z-index: -1;
}


.site-logo {
  height: 100px;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.site-nav li {
  margin-left: 2rem;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Desktop'ta dropdown'lu ana menü linkleri tıklanamaz */
@media (min-width: 769px) {
  .dropdown-menu>li:has(.sub-menu)>a {
    pointer-events: none;
    cursor: default;
  }
}

.website-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #6cc3c6;
  color: white;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.website-btn:hover {
  background-color: #58adb0;
}

/* Menü Toggle Butonu (Mobil için) */
.menu-toggle {
  display: none;
  /* Masaüstünde gizli */
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  position: relative;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* Menü açıkken hamburger ikonunu X'e dönüştür */
.menu-toggle.active .fa-bars::before {
  content: "\f00d";
  /* Font Awesome X (times) ikonu */
}



/* Plan Your Stay Section */
#why-eskisehir-stats {
  background-color: #f9f9f9;
}

.whattodo {
  background-color: #ffffff;
}

.todo-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.todo-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.todo-card:hover {
  transform: translateY(-5px);
  background-color: #f5cb22;
  /* SarÄ± arka plan */
  color: #222;
  /* Koyu metin rengi */
}

.todo-card:hover i {
  color: #222;
  /* Ä°kon rengini de koyu yap */
}

.todo-card-link {
  text-decoration: none;
  /* Link alt Ã§izgisini kaldÄ±r */
  display: block;
  height: 100%;
}

.todo-card i {
  font-size: 2.5rem;
  color: #6cc3c6;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  /* Renk geÃ§iÅŸi iÃ§in eklendi */
}

.todo-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.todo-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .todo-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .todo-boxes {
    grid-template-columns: 1fr;
  }
}


/* Dropdown MenÃ¼ */
.dropdown-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.dropdown-menu>li {
  position: relative;
}

.dropdown-menu>li>a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
}

.accordion-body.open {
  display: block;
}

/* Discover Eskisehir Specific - 2 Column Cards */
.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.place-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.place-card:hover {
  transform: translateY(-5px);
  border-color: #6cc3c6;
  box-shadow: 0 8px 24px rgba(108, 195, 198, 0.15);
}

.place-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.place-card strong {
  color: #0d2e30;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.place-card .info-link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-block;
}

@media (max-width: 992px) {
  .accordion-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.sub-menu {
  display: none;
  /* Alt menÃ¼ baÅŸlangÄ±Ã§ta gizli */
  position: absolute;
  top: 100%;
  /* Ana menÃ¼ Ã¶ÄŸesinin altÄ±nda */
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  padding: 0;
  min-width: 160px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  /* BaÅŸlangÄ±Ã§ta biraz yukarÄ±da */
  transition: all 0.2s ease;
  /* Smooth geÃ§iÅŸ efekti */
}

.sub-menu li {
  padding: 0;
  margin: 0;
}

.sub-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #222;
  text-decoration: none;
  font-size: 0.8rem;
  text-align: left;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.sub-menu li a:hover {
  background-color: #f5cb22;
  color: black;
}

/* Hover efekti - Desktop iÃ§in */
@media (min-width: 769px) {
  .dropdown-menu li:hover .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Normal pozisyona gelir */
  }
}

/* HOME link - sadece mobilde görünür */
.mobile-only-menu-item {
  display: none;
}

/* Mobil cihazlar için özel ayarlar */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* Mobil görünümde logo küçült */
  .site-logo {
    height: 60px;
  }

  /* Full-Screen Overlay Menu */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #6cc3c6 0%, #0d2e30 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6rem;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu {
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 500px;
  }

  .dropdown-menu>li {
    margin-left: 0;
    border-bottom: none;
    padding: 0.5rem 0;
  }

  .dropdown-menu>li:last-child {
    border-bottom: none;
  }

  .dropdown-menu>li>a {
    padding: 1.2rem 2rem;
    color: white;
    display: block;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
  }

  .dropdown-menu>li>a:hover {
    background-color: transparent;
    color: #f5cb22;
    transform: scale(1.05);
  }

  /* HOME link mobilde görünür yap */
  .mobile-only-menu-item {
    display: block;
  }

  /* Mobilde alt menü stilleri - Overlay için */
  .sub-menu {
    position: static;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    border-radius: 8px;
    transform: none;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0.5rem;
  }

  /* Mobilde hover yerine click ile açılma */
  .dropdown-menu li:hover .sub-menu {
    display: none;
  }

  .dropdown-menu li.open .sub-menu {
    display: block;
    max-height: 800px;
  }

  .sub-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sub-menu li:last-child {
    border-bottom: none;
  }

  .sub-menu li a {
    padding: 0.9rem 2rem;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
  }

  .sub-menu li a:hover {
    background-color: rgba(245, 203, 34, 0.2);
    color: #f5cb22;
    transform: translateX(5px);
  }
}

/* --- Footer Stick to Bottom --- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

/* --- End Footer Stick to Bottom --- */

/* --- Inner Page Header Styles --- */
.inner-page .site-header {
  position: relative;
  /* or static */
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.inner-page .site-header::after {
  display: none;
  /* Removes the gradient */
}

/* Sadece Ã¼st seviye menÃ¼ linklerini hedef al */
.inner-page .dropdown-menu>li>a {
  color: #333;
  /* Koyu gri metin - desktop */
}

.inner-page .dropdown-menu>li>a:hover {
  color: #6cc3c6;
  /* Turkuaz vurgu rengi - desktop */
  text-decoration: none;
  /* Ãœst seviyede alt Ã§izgi olmasÄ±n */
}

/* Mobilde menü beyaz olmalı */
@media (max-width: 768px) {
  .inner-page .dropdown-menu>li>a {
    color: white;
    /* Mobil menüde beyaz */
  }

  .inner-page .dropdown-menu>li>a:hover {
    color: #f5cb22;
    /* Mobilde sarı hover */
  }
}

/* Ä°Ã§ sayfalardaki alt menÃ¼ linklerinin hover stilini ana sayfadakiyle aynÄ± yap */
.inner-page .sub-menu li a:hover {
  color: black;
  background-color: #f5cb22;
  text-decoration: underline;
}

.inner-page .menu-toggle {
  color: #6cc3c6;
  /* Mobil menü ikonu turkuaz - menü kapalıyken */
}

/* Inner page - Mobil menü açıkken toggle butonu beyaz */
.inner-page .site-nav.open~.header-flex .menu-toggle {
  color: white;
}

.inner-page .menu-toggle.active {
  color: white !important;
  /* Menü açıkken X ikonu beyaz */
}

/* --- End Inner Page Header Styles --- */

/* --- Hero Slider Media Styles --- */
.swiper-slide .hero-video,
.swiper-slide .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* En-boy oranÄ±nÄ± koruyarak alanÄ± doldurur */
  z-index: 1;
  /* Metnin arkasÄ±nda kalmasÄ± iÃ§in */
}

.swiper-slide .hero-image {
  background-size: cover;
  background-position: center;
}

/* --- End Hero Slider Media Styles --- */

/* --- Why EskiÅŸehir Slider Styles --- */
.why-eskisehir-slider {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.why-eskisehir-slider .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 540px;
  /* Slayt geniÅŸliÄŸini artÄ±rÄ±yoruz */
  height: 212px;
  /* GeniÅŸliÄŸe gÃ¶re 1200x470 oranÄ±nÄ± koruyoruz */
  transition: transform 0.5s ease;
}

.why-eskisehir-slider .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.why-eskisehir-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* GÃ¶rselin orantÄ±lÄ± ÅŸekilde kaplamasÄ±nÄ± saÄŸlar */
  border-radius: 15px;
  /* KÃ¶ÅŸeleri yuvarlatÄ±r */
}

.why-eskisehir-slider .swiper-slide h3 {
  position: absolute;
  bottom: 20px;
  /* Alttan boÅŸluÄŸu artÄ±r */
  left: 50%;
  /* Yatayda ortala */
  transform: translateX(-50%);
  /* Tam ortalamayÄ± saÄŸla */
  width: 90%;
  /* GeniÅŸliÄŸi ayarla */
  text-align: center;
  margin: 0;
  padding: 5px;
  background: none;
  /* Arka planÄ± kaldÄ±r */
  color: #ffffff;
  /* Metin rengini beyaz yap */
  font-size: 1.2rem;
  /* Font boyutunu biraz bÃ¼yÃ¼t */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* Okunabilirlik iÃ§in metin gÃ¶lgesi ekle */
  border-radius: 0;
  /* Arka plan olmadÄ±ÄŸÄ± iÃ§in gereksiz */
}

/* Aktif olmayan slaytlarÄ± biraz daha sÃ¶nÃ¼k yap */
.why-eskisehir-slider .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.7;
}

.why-eskisehir-slider .swiper-slide {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.why-eskisehir-slider .swiper-slide-active {
  transform: scale(1.2);
  z-index: 1;
  /* Ortadaki slaytÄ±n diÄŸerlerinin Ã¶nÃ¼ne Ã§Ä±kmasÄ±nÄ± saÄŸlar */
}

/* Navigasyon oklarÄ± */
.why-eskisehir-slider .swiper-button-next,
.why-eskisehir-slider .swiper-button-prev {
  color: #222 !important;
  /* OklarÄ±n rengini belirgin yap */
}

/* --- End Why EskiÅŸehir Slider Styles --- */

/* --- Homepage Search Section --- */
.homepage-search {
  background-color: #ffffff;
  /* Turkuaz/teal arka plan */
  padding: 3rem 0;
}

.homepage-search h2 {
  margin-bottom: 2rem;
}

.homepage-search .filter-bar {
  max-width: 1000px;
  /* Biraz daraltÄ±ldÄ± */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  /* 3 sÃ¼tunlu yapÄ±: 2 alan + buton */
  gap: 1rem;
  align-items: flex-end;
}

.homepage-search .button {
  background-color: #6cc3c6;
  color: rgb(255, 255, 255);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 100%;
}

.homepage-search .button:hover {
  background-color: #58adb0;
}

@media (max-width: 768px) {
  .homepage-search .filter-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .homepage-search .container {
    padding: 1rem;
  }

  .homepage-search h2 {
    font-size: 1.5rem;
    padding: 0 0.5rem;
  }

  .filter-group label {
    font-size: 0.9rem;
  }

  .filter-group select {
    font-size: 0.9rem;
  }

  .homepage-search .button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* --- BÃ¶lÃ¼m Arama SayfasÄ± Stilleri --- */
.bolum-arama-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.bolum-arama-container .page-title {
  margin-bottom: 2rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.filter-group select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.sonuc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sonuc-karti {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #6cc3c6;
  position: relative;
}

.sonuc-karti:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
}

/* New card structure styles */
.sonuc-karti .sonuc-header {
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.sonuc-karti .faculty-name {
  font-size: 1.3rem;
  margin: 0;
  color: #222;
  text-align: left;
  flex: 1;
}

.sonuc-karti .degree-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background-color: #f5cb22;
  color: #222;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.sonuc-karti .institution-name {
  font-size: 1rem;
  color: #6cc3c6;
  margin-bottom: 1rem;
  text-align: left;
}

.sonuc-karti .departments-list {
  margin-top: 1rem;
}

.sonuc-karti .departments-list h4 {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
  text-align: left;
}

.sonuc-karti .departments-list ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.sonuc-karti .departments-list li {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.3rem;
  text-align: left;
}

.sonuc-karti .info-pack-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #6cc3c6;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.sonuc-karti .info-pack-link:hover {
  background-color: #58adb0;
}

/* Legacy styles for backward compatibility */
.sonuc-karti .bolum-adi {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
  text-align: left;
}

.sonuc-karti .universite-adi {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  text-align: left;
}

.sonuc-karti .seviye-etiketi {
  display: inline-block;
  background-color: #f5cb22;
  color: #222;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.2rem;
  padding: 3rem 2rem;
  color: #555;
}

.loading-text,
.error-text {
  grid-column: 1 / -1;
  /* TÃ¼m sÃ¼tunlarÄ± kapla */
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem;
}

.filter-bar .button-group {
  align-self: flex-end;
  /* Butonu diÄŸer kutularÄ±n alt Ã§izgisiyle hizalar */
}

#search-button {
  background-color: #6cc3c6;
  /* Ana tema rengi */
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#search-button:hover {
  background-color: #f5cb22;
  /* Vurgu rengi */
  color: #222;
  transform: translateY(-2px);
  /* Hafif yukarÄ± kalkma efekti */
}

/* Mobil için Search Page Responsive Styles */
@media (max-width: 768px) {
  .bolum-arama-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .bolum-arama-container .container {
    padding: 1rem;
  }

  .bolum-arama-container .page-title {
    font-size: 1.5rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }

  .filter-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .filter-group {
    width: 100%;
  }

  .filter-group label {
    font-size: 0.9rem;
  }

  .filter-group select {
    font-size: 0.9rem;
    padding: 0.65rem;
  }

  .filter-bar .button-group {
    width: 100%;
    align-self: stretch;
  }

  #search-button {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  /* Sonuç kartları mobilde tek sütun */
  .sonuc-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- End Bölüm Arama Sayfası Stilleri --- */

/* University-specific Card Colors */
.sonuc-karti.anadolu-university {
  border-left: 5px solid #2D4791;
}

.sonuc-karti.anadolu-university .sonuc-header .faculty-name {
  color: #2D4791;
}

.sonuc-karti.anadolu-university .institution-name {
  color: #2D4791;
}

.sonuc-karti.anadolu-university .info-pack-link {
  background-color: #2D4791;
}

.sonuc-karti.anadolu-university .info-pack-link:hover {
  background-color: #1e3266;
}

.sonuc-karti.eskisehir-teknik {
  border-left: 5px solid #951F13;
}

.sonuc-karti.eskisehir-teknik .sonuc-header .faculty-name {
  color: #951F13;
}

.sonuc-karti.eskisehir-teknik .institution-name {
  color: #951F13;
}

.sonuc-karti.eskisehir-teknik .info-pack-link {
  background-color: #951F13;
}

.sonuc-karti.eskisehir-teknik .info-pack-link:hover {
  background-color: #7a1910;
}

.sonuc-karti.eskisehir-osmangazi {
  border-left: 5px solid #6cc3c6;
}

/* University Logo Styles */
.institution-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.university-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.institution-row .institution-name {
  margin: 0;
  text-align: left;
}

/* --- Why EskiÅŸehir Slider Styles - Cards Effect --- */
#neden,
.neden {
  background-color: #f9f9f9;
}

#where-to-study,
.universiteler {
  background-color: #ffffff;
}

.why-eskisehir-slider {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 60px 0;
  overflow: visible;
}

.why-eskisehir-slider .swiper-slide {
  width: 580px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Active card full opacity - no shadow overlay */
.why-eskisehir-slider .swiper-slide-active {
  opacity: 1 !important;
}

.why-eskisehir-slider .swiper-slide-active .swiper-slide-shadow {
  display: none !important;
}

.why-eskisehir-slider .swiper-slide a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.why-eskisehir-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Kart alt gradient overlay */
.why-eskisehir-slider .swiper-slide a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.why-eskisehir-slider .swiper-slide h3 {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  margin: 0;
  padding: 0 10px;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  z-index: 3;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

/* Navigasyon oklarÄ± - Cards iÃ§in daha uzakta */
.why-eskisehir-slider .swiper-button-next,
.why-eskisehir-slider .swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: #6cc3c6;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #fff !important;
  --swiper-navigation-size: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  top: 50%;
  transform: translateY(-50%);
}

.why-eskisehir-slider .swiper-button-next {
  right: -120px;
}

.why-eskisehir-slider .swiper-button-prev {
  left: -120px;
}

.why-eskisehir-slider .swiper-button-next:hover,
.why-eskisehir-slider .swiper-button-prev:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .why-eskisehir-slider {
    max-width: 320px;
  }

  .why-eskisehir-slider .swiper-slide {
    width: 300px;
    height: 170px;
  }

  .why-eskisehir-slider .swiper-slide h3 {
    font-size: 1rem;
    bottom: 20px;
  }

  .why-eskisehir-slider .swiper-button-next {
    right: -40px;
  }

  .why-eskisehir-slider .swiper-button-prev {
    left: -40px;
  }
}

/* --- End Why EskiÅŸehir Slider Styles --- */

/* --- Elegant Footer Styles --- */
.site-footer {
  background-color: #2d3436;
  color: #ffffff;
  padding: 1rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
  font-weight: 300;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-col {
  flex: 1;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  margin: 0;
  color: #b2bec3;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.university-logos {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.university-logos img {
  height: 32px;
  width: auto;
  transition: transform 0.3s ease;
}

.university-logos a:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 1rem 0;
  }

  .footer-right {
    justify-content: center;
  }

  .university-logos {
    justify-content: center;
  }
}

/* --- Videos Section Styles --- */
.videos {
  background-color: #f9f9f9;
}


.video-slider {
  width: 100%;
  padding: 40px 0;
  overflow: hidden;
}

.video-slider .swiper-slide {
  height: auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Slider Navigation */
.video-slider .swiper-button-next,
.video-slider .swiper-button-prev {
  color: #6cc3c6 !important;
}


/* --- Why EskiÅŸehir Inner Page Layout --- */
.why-eskisehir-page .page-header-image {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
}

.why-eskisehir-page .page-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-eskisehir-page .page-title-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 4rem 0 2rem;
}

.why-eskisehir-page .page-title-band-text {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  margin: 0;
}

.why-eskisehir-page .main-content {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.why-eskisehir-page .entry-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-eskisehir-page .entry-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.why-eskisehir-page .entry-content h2 {
  color: #0d2e30;
  margin-top: 2rem;
  font-size: 1.8rem;
  text-align: left;
}

.entry-content h3 {
  color: #6cc3c6;
  margin-top: 1.5rem;
  font-size: 1.4rem;
  text-align: left;
  font-weight: 600;
}

.entry-content h4 {
  color: #6cc3c6;
  margin-top: 1.25rem;
  font-size: 1.2rem;
  text-align: left;
  font-weight: 600;
}

.entry-content p {
  text-align: left;
  margin-bottom: 1.5rem;
  color: #444;
}

.entry-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.entry-content th,
.entry-content td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  text-align: left;
}

.entry-content th {
  background: #6cc3c6;
  color: white;
}

.entry-content tr:nth-child(even) {
  background: #f9f9f9;
}

.entry-gallery {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px dashed #ddd;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover effect removed per user request */

/* Gallery inside Accordion adjustments */
.accordion-body .gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.accordion-body .entry-gallery {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  /* .why-eskisehir-page .entry-container no longer needs grid overrides */

  .why-eskisehir-page .entry-gallery {
    order: 0;
    /* Move back to bottom on mobile too */
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .page-title-band-text {
    font-size: 2rem;
    /* Mobilde baÅŸlÄ±k fontunu biraz kÃ¼Ã§Ã¼lt */
  }
}


/* --- Lightbox Styles --- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .lightbox-content {
    width: 100%;
  }
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0);
  z-index: 2002;
}

.lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.lightbox-prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* --- End Lightbox Styles --- */

.entry-content .info-link {
  color: #6cc3c6;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}

.entry-content .info-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Information Package Page Refined Styling */
.information-package {
  background-color: #f9f9f9;
}

.information-package .page-header {
  margin-bottom: 3rem;
}

.information-package .page-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-top: -0.5rem;
}

.universiteler-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.uni-info-card {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 1.5rem;
  border-radius: 12px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  gap: 2rem;
}

.uni-info-card:hover {
  background-color: #f5cb22;
  transform: translateY(-3px);
}

.uni-logo-wrapper {
  flex: 0 0 140px;
  height: 140px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.uni-logo-wrapper img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.uni-details {
  flex: 1;
  text-align: left;
}

.uni-details h4 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 0.5rem;
  text-align: left;
}

.uni-details p {
  text-align: left;
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.uni-details .button {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background-color: #6cc3c6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.uni-details .button:hover {
  background-color: #58adb0;
}

@media (max-width: 768px) {
  .uni-info-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .uni-details {
    text-align: center;
  }

  .uni-details h4,
  .uni-details p {
    text-align: center;
  }

  .uni-logo-wrapper {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
  }
}

/* ===================================
   DEGREE PAGES - ACCORDION LAYOUT
   =================================== */

/* Page Header */
.degree-page-header {
  background:
    linear-gradient(rgba(41, 49, 51, 0.65), rgba(41, 49, 51, 0.65)),
    url('../img/and_1.webp') center/cover no-repeat;
  padding: 5rem 0 3rem;
  margin-bottom: 0;
}

.degree-page-header--esog {
  background:
    linear-gradient(rgba(41, 49, 51, 0.65), rgba(41, 49, 51, 0.65)),
    url('../img/esog_1.webp') center/cover no-repeat;
}

.degree-page-header--estu {
  background:
    linear-gradient(rgba(41, 49, 51, 0.65), rgba(41, 49, 51, 0.65)),
    url('../img/estu_1.webp') center/cover no-repeat;
}

.degree-page-header--infor {
  background:
    linear-gradient(rgba(41, 49, 51, 0.65), rgba(41, 49, 51, 0.65)),
    url('../img/infor.webp') center/cover no-repeat;
}

.degree-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.degree-uni-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.degree-page-header .page-title {
  color: white;
  font-size: 2rem;
  margin: 0 0 0.3rem;
}

.degree-page-header .page-subtitle {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0;
}

.degree-page-header--infor .page-subtitle {
  font-size: 1.575rem;
  /* 2.1rem - 25% */
}

/* Accordion Sections */
.accordion-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.accordion-section--alt {
  background-color: #f7f8f8;
}

.accordion-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #293133;
  padding-left: 1rem;
  border-left: 4px solid #6cc3c6;
  margin-bottom: 1.5rem;
}

.accordion-section-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  letter-spacing: 0;
}

/* Accordion Items */
.accordion {
  border: 1px solid #e5e9ea;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e5e9ea;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: #ffffff;
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #293133;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  gap: 1rem;
}

.accordion-section--alt .accordion-btn {
  background: #f7f8f8;
}

.accordion-btn:hover {
  background-color: #f5cb22;
  color: #1a1a1a;
}

.accordion-btn.active {
  background-color: #f5cb22;
  color: #1a1a1a;
}

.acc-icon {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  color: #6cc3c6;
  transition: transform 0.3s ease, color 0.25s ease;
  display: inline-block;
}

.accordion-btn:hover .acc-icon {
  color: #1a1a1a;
}

.accordion-btn.active .acc-icon {
  transform: rotate(45deg);
  color: #1a1a1a;
}

/* Accordion Body */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background-color: #fff;
  padding: 0 1.4rem;
  text-align: left;
}

/* Restricted to text elements to avoid breaking layout of grid/flex containers */
.accordion-body p,
.accordion-body li,
.accordion-body h3,
.accordion-body h4,
.accordion-body strong {
  text-align: left !important;
}

.accordion-section--alt .accordion-body {
  background-color: #f7f8f8;
}

.accordion-body.open {
  max-height: none;
  /* Changed from 10000px to none for safety, though 10000px is usually enough */
  padding: 1.2rem 1.4rem;
  overflow: visible;
  /* Ensure content isn't clipped */
}

.accordion-body p,
.accordion-body ul,
.accordion-body li,
.accordion-body ol {
  margin: 0 0 0.8rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #444;
  text-align: left !important;
}

.accordion-body ul,
.accordion-body ol {
  padding-left: 1.4rem;
}

/* Sub-heading inside accordion answer */
.acc-section-heading {
  font-weight: 700;
  font-size: 0.88rem !important;
  letter-spacing: 0.06em;
  color: #293133 !important;
  text-transform: uppercase;
  margin-top: 1.2rem !important;
  margin-bottom: 0.4rem !important;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #6cc3c6;
  display: block;
  text-align: left !important;
}

/* Language Requirements plain text */
.lang-req-content {
  background: #fff;
  border: 1px solid #e5e9ea;
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #444;
}

.accordion-section--alt .lang-req-content {
  background: #f7f8f8;
}

/* Important Note Callout */
.important-note {
  background-color: #fdf8ee;
  border-left: 4px solid #f5cb22;
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}

.important-note strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #293133;
  margin-bottom: 0.5rem;
}

.important-note p {
  color: #4a6a6d !important;
  font-size: 0.9rem !important;
  line-height: 1.7;
  margin: 0 !important;
  text-align: left !important;
}

/* Responsive */
@media (max-width: 600px) {
  .degree-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .accordion-section-title {
    font-size: 1rem;
  }

  .accordion-btn {
    font-size: 0.88rem;
    padding: 1rem 1rem;
  }
}

/* Accordion içi program tablosu */
.acc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 0.8rem;
}

.acc-table th {
  background-color: #293133;
  color: #ffffff;
  text-align: left !important;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.acc-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #e5e9ea;
  color: #444;
  vertical-align: top;
  text-align: left !important;
}

.acc-table tr:last-child td {
  border-bottom: none;
}

.acc-table tr:nth-child(even) td {
  background-color: #f7f8f8;
}

.acc-table .faculty-row td {
  background-color: #eaf6f6;
  font-weight: 600;
  color: #293133;
}

.acc-table .special-cond {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

@media (max-width: 700px) {
  .acc-table {
    font-size: 0.78rem;
  }

  .acc-table th,
  .acc-table td {
    padding: 0.5rem 0.5rem;
  }
}

.acc-table .narrow-col {
  width: 50px;
  min-width: 40px;
  text-align: center !important;
}

.acc-table .narrow-col-th {
  width: 50px;
  min-width: 40px;
  text-align: center !important;
  word-wrap: break-word;
}

/* =========================================
   ANIMATED STATS SECTION (Why Eskişehir)
   ========================================= */

.animated-stats-section {
  padding: 60px 0;
  /* Background inherits from body (#f9f9f9) */
}

/* ── STAT CARDS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.stat-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 32px 24px;
  overflow: hidden;
  animation: fadeUp 0.6s both;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: #f5cb22;
  /* Yellow background */
  color: #222;
  /* Text turns dark */
}

/* ── ICON WRAP ── */
.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-wrap i {
  font-size: 2.5rem;
  color: #6cc3c6;
  /* Teal icon */
  transition: color 0.3s ease;
}

.stat-card:hover .icon-wrap i,
.plain-card:hover .icon-wrap.plain i {
  color: #222;
  /* Icon turns dark on hover */
}

/* ── NUMBERS AND LABELS ── */
.number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.5rem;
}

.big-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #222;
  /* Dark text */
  line-height: 1;
}

.suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  /* Dark text */
  line-height: 1;
}

.label {
  color: #555;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.sublabel {
  color: #555;
  font-size: 0.85rem;
  margin-top: 6px;
  line-height: 1.4;
}

/* Maintain dark text on hover for all children */
.stat-card:hover .big-number,
.stat-card:hover .suffix,
.stat-card:hover .label,
.stat-card:hover .sublabel,
.plain-card:hover .plain-label,
.plain-card:hover .sublabel {
  color: #222;
}


/* ── PLAIN CARDS ── */
.plains-row,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plain-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 28px 24px;
  animation: fadeUp 0.6s both;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: default;
}

.plain-card:hover {
  transform: translateY(-5px);
  background-color: #f5cb22;
  /* Yellow background */
  color: #222;
}

.plain-label {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

/* ── INSTITUTE CARDS ── */
.institute-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.institute-card:hover {
  transform: translateY(-5px);
  background-color: #f5cb22;
}

.institute-card:hover .card-title,
.institute-card:hover .card-text {
  color: #222 !important;
}

.institute-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.institute-card .card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.institute-card .btn {
  margin-top: auto;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .stats-row,
  .plains-row,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {

  .stats-row,
  .plains-row,
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
#scrollToTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 1.2rem;
  border: none;
  outline: none;
  background-color: #6cc3c6;
  /* Turquoise */
  color: white;
  /* White Arrow */
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  /* Round */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #5bb3b6;
  /* Slightly darker teal on hover */
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #scrollToTopBtn {
    display: none !important;
    /* Forces hide on mobile */
  }
}

/* Announcements Schedule */
.schedule-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: #f6f8f9;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.schedule-day {
  margin-bottom: 40px;
}

.schedule-day:last-child {
  margin-bottom: 0;
}

.schedule-date {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  color: #222;
}

.schedule-location {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.schedule-location i {
  color: #6cc3c6;
  font-size: 1.1rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  line-height: 1.4;
}

.schedule-table th {
  font-weight: 600;
  color: #4a5568;
  font-size: 1.05rem;
  width: 25%;
}

.schedule-table th:last-child {
  width: 75%;
}

.schedule-table td:first-child {
  color: #718096;
  vertical-align: top;
  font-weight: 500;
}

.schedule-table td:last-child {
  color: #2d3748;
  font-weight: 500;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .schedule-container {
    padding: 24px 20px;
    margin: 30px 15px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 12px 0;
    display: block;
    width: 100% !important;
  }

  .schedule-table th {
    display: none;
  }

  .schedule-table td:first-child {
    padding-bottom: 4px;
    font-size: 0.9rem;
    color: #a0aec0;
    border-bottom: none;
  }

  .schedule-table td:last-child {
    padding-top: 0;
    margin-bottom: 12px;
  }

  .schedule-table tr:last-child td:last-child {
    margin-bottom: 0;
  }
}