:root {
  line-height: 1.5;
  font-weight: 400;
  color: #213547;
  background-color: #F5F6FA;
  --primary-blue: #0091AD;
  --primary-brown: #741D2D;
  --primary-green: #5aaa95;
  --dark-text: #333;
  --light-text: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: 'Titillium Web', sans-serif;
}

.library-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
  display: flex;
  flex-direction: row-reverse;
}

.library-container h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.library-main {
  flex: 1;
  padding-left: 30px;
  padding-right: 30px;
}

.library-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky !important;
    top: 100px; /* header yüksekliğine göre ayarlayın */
    padding-left: 30px;
    padding-right: 20px;
    align-self: start;
    height: fit-content;
}

.library-sidebar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e0e0e0;
}

.library-title {
  color: var(--primary-blue);
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
}

.library-description {
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555;
}

.library-button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  margin-bottom: 40px;
}

.library-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}

.library-button:hover {
  background-color: #007a91;
}

.library-section-title {
  color: var(--primary-blue);
  margin: 40px 0 20px;
  font-size: 1.5rem;
  font-weight: 600;
}

.library-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-main {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.twitter-link {
  display: flex;
  align-items: center;
  color: var(--primary-blue);
  text-decoration: none;
  margin-top: 10px;
  font-weight: 500;
}

.twitter-link i {
  margin-right: 5px;
}

.sidebar-title {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 30px;
}

.sidebar-links li {
  margin-bottom: 20px;
}

.sidebar-links a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.sidebar-links a:hover {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.sidebar-links a.active {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.3rem;
}

.library-links-section {
  margin-top: 50px;
}

.library-links-title {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

.library-links-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.library-links-column h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.library-links-list {
  list-style: none;
  padding: 0;
}

.library-links-list li {
  margin-bottom: 10px;
}

.library-links-list a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.library-links-list a:hover {
  color: var(--primary-blue);
}

.library-section {
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .library-container {
    flex-direction: column;
  }

  .library-sidebar {
      position: static;
      top: auto;
      padding: 0;
      width: 100%;
      margin-top: 20px;
  }

  .library-sidebar::before {
    display: none;
  }

  .library-main {
    padding-left: 0;
  }

  .sidebar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .sidebar-links li {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .library-container {
    margin-top: 100px;
  }
  .publications-slider-dots {
    display: block;
  }
  .sidebar-links {
    flex-direction: column;
  }

  .sidebar-links li {
    margin-bottom: 10px;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

#app {
  width: 100%;
}

/* Top Navigation */
.top-nav {
  background-color: transparent;
  padding: 10px 0;
  position: absolute;
  width: 100%;
  z-index: 100;
  top: 0;
}

.top-nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.top-nav-background {
  background-color: #0091AD;
  width: 100%;
  height: 120px;
}

/* Main Header */
header {
  background-color: transparent;
  position: absolute;
  width: 100%;
  z-index: 90;
  padding: 0 0 20px 0 !important;
  top: 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container .header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-input {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 20px;
  padding: 5px 10px;
  color: white;
  width: 110px;
}

.search-button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: -30px;
}

.hamburger-menu {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Küçük ekranlarda göster */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Menü gizli */
    }

    .hamburger-menu {
        display: none;
    }
}

/** masaüstü menü */
/* Menü paneli */
.menu-panel {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 50px 120px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

.menu-panel .close-btn {
    display: none;
    font-size: 24px;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
}

@media (min-width: 769px) {
    .menu-panel .close-btn {
        display: block;
    }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.menu-category h4 {
    margin-bottom: 10px;
    color: #008da5;
    font-weight: bold;
}

.menu-category h4 a{
    color: #008da5;
}

.menu-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-category ul li {
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

.menu-category ul li a{
    color: #213547;
}

@media (max-width: 768px) {

    .menu-panel .close-btn {
        display: none;
    }
}

.menu-search {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.menu-search input {
    width: 100%;
    max-width: 500px;
    padding: 12px 18px;
    font-size: 16px;
    border: 1px solid #008da5;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.menu-search button {
    padding: 12px 18px;
    background-color: white;
    border: 1px solid #008da5;
    border-left: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

.menu-search button i {
    color: #008da5;
    font-size: 18px;
}


.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav ul li.has-submenu .submenu {
    display: none;
    margin-top: 10px;
    padding-left: 20px;
}

.mobile-nav ul li.has-submenu.open .submenu {
    display: block;
}

.menu-toggle {
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 500;
}

.menu-toggle .submenu-toggle {
    font-size: .8rem;
    transition: transform 0.3s ease;
}

.mobile-nav ul li.has-submenu.open .submenu-toggle {
    transform: rotate(180deg); /* Açıldığında oka dönüş */
}

.mobile-menu-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 100px 20px 20px;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.mobile-nav ul li {
  margin-bottom: 20px;
}

.mobile-nav ul li a {
  color: #333;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav ul li a:hover {
  color: var(--primary-blue);
}

.mobile-top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.mobile-top-links a {
  color: #333;
  text-decoration: none;
  margin: 0 10px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.mobile-top-links a:hover {
  color: var(--primary-blue);
}

.mobile-search {
  display: flex;
  width: 100%;
  max-width: 300px;
  position: relative;
}

.mobile-search .search-input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mobile-search .search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

/* Add this to prevent scrolling when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Update mobile menu button styles for active state */
.mobile-menu-button.active {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background-color: transparent;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button.active i {
  color: #5aaa95;
  font-size: 28px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10%;
  color: white;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-slides {
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-content {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 650px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-content.active {
  opacity: 1;
  visibility: visible;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 1500px;
}

.hero-content .btn-incele {
  border-radius: 10px;
  background: none;
  border: 1px solid white;
  padding: 10px 60px;
}

.hero p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
}

.btn-incele {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-incele:hover {
  background-color: #007a91;
}

.hero-pagination {
  position: absolute;
  bottom: 40px;
  left: 10%;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-dot.active {
  background-color: white;
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .hero-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
  }

  .hero-content.active {
    opacity: 1;
    visibility: visible;
    position: absolute;
    transform: translateY(-50%);
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    max-width: 100%;
    line-height: 1.4;
  }
}

/* News & Events Section */
.news-events {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-header .btn-view-all {
  display: inline-block;
  padding: 8px 25px;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header .btn-view-all:hover {
  background-color: white;
  color: var(--primary-blue);
}

.navigation-arrows {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

.nav-arrow {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-arrow.prev::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background-color: gray;
}

.nav-arrow:hover {
  background-color: var(--primary-blue);
  color: white;
}

.section-description {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-grid .news-dot {
  display: none;
}

.news-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.news-image {
  flex: 0 0 40%;
  position: relative;
  border-radius: 10px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  overflow: hidden;
}

.news-image img {
  width: 120px;
  max-height: 168px;
  object-fit: cover;
  border-radius: 8px;
}

.blue-bg {
  background-color: white;
}

.green-bg {
  background-color: white;
}

.blue-bg::before,
.green-bg::before {
  content: none;
}

.academic-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.academic-table th,
.academic-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.academic-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.academic-table tr:hover {
    background-color: #f1faff;
    transition: background-color 0.2s ease;
}

.academic-table tbody tr:last-child td {
    border-bottom: none;
}

.academic-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

@media (max-width: 768px) {
    .academic-table {
        font-size: 14px;
    }
}

.news-content {
  flex: 1;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.news-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.news-link i {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* News Events Pagination - Hidden by default for desktop */
.news-events-pagination {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .news-events {
    padding: 40px 0 20px;
    position: relative;
  }

  .news-grid .news-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }

  .news-grid .news-dot.active {
    background-color: #666;
  }

  .news-events .container {
    padding-bottom: 0;
  }

  .news-events .section-header {
    margin-bottom: 20px;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }

  .news-events .section-header .btn-view-all {
    display: none;
  }


  .news-grid {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-item {
    margin-bottom: 15px;
    min-height: 120px;
    width: 100%;
    display: none;
  }

  .news-item.active {
    display: flex;
  }

  .news-item:nth-child(1),
  .news-item:nth-child(2) {
    display: flex;
  }

  .news-image {
    flex: 0 0 40%;
    height: 120px;
    border-radius: 10px 0 0 10px;
  }

  .news-image img {
    max-width: 120px;
    max-height: 168px;
    object-fit: cover;
    border-radius: 6px;
  }

  .news-content {
    flex: 1;
    padding: 15px;
  }

  .news-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .news-events-pagination {
    display: flex;
    justify-content: end;
    margin-top: 10px;
    position: relative;
    width: 100%;
    padding: 0 15px;
  }

  .news-events-pagination .btn-view-all {
    display: inline-block;
    padding: 6px 20px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 400;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .news-events-pagination .btn-view-all:hover {
    background-color: white;
    color: var(--primary-blue);
  }

  .news-events-pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .news-events-dots {
    display: flex;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1rem;
    font-weight: 600;
  }

  .section-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* Education Section */
.education-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #4a90a7, #2c5d6f);
  color: white;
  text-align: center;
}

.education-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.education-programs {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.program-card {
  border-radius: 0px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--dark-text);
}

.program-image {
  border-radius: 20px;
  height: 400px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.program-content p {
  margin-bottom: 20px;
  flex-grow: 1;
  color: white;
}

.program-content a {
  color: white;
}

.btn-devami {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
}

.btn-devami i {
  margin-left: 5px;
}

/* Statistics Section */
.statistics-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.statistics-section h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 60px;
}

.statistics-grid {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.statistic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 180px;
  height: 250px;
  justify-content: flex-start;
}

.statistic-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
  margin-top: 20px;
}

.statistic-item p {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  flex-grow: 1;
}

.stat-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  margin-top: auto;
  position: absolute;
  bottom: 15px;
}

.statistics-pagination {
  display: none;
}

.view-all-container {
  margin-top: 40px;
}

.view-all-container a {
  color: white;
}

.view-all-container .btn-view-all {
  display: inline-block;
  padding: 8px 25px;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-all-container .btn-view-all:hover {
  background-color: white;
  color: var(--primary-blue);
}

/* Research Center Section */
.research-center-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #8b3e4d, #6a2e3a);
  color: white;
  text-align: center;
}

.research-center-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.research-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.research-center-section .section-description {
  color: white;
  font-size: 1.1rem;
  font-weight: 200;
}

.research-card {
  border-radius: 0px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: white;
}

.research-image {
  border-radius: 20px;
  height: 400px;
  overflow: hidden;
}

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 20px;
}

.research-card:hover .research-image img {
  transform: scale(1.05);
}

.research-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.research-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.research-content p {
  margin-bottom: 20px;
  flex-grow: 1;
  color: white;
}

.research-center-section .container:nth-child(2) {
  margin-top: 60px;
}

.research-center-section .container:nth-child(2) h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
}

.research-content .btn-devami {
  color: white;
}

/* Research Areas Section */
.research-areas-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.research-areas-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 60px;
  color: var(--dark-text);
}

.areas-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.area-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  text-align: left;
  position: relative;
  border-left: 4px solid #5aaa95;
    width: 33.3%;
}

.area-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
    height: 142px;
  padding-right: 10px;
}

.area-icon img {
  width: 100%;
  height: auto;
}

.area-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-text);
}

/* Breadcrumb Styles */
.breadcrumb {
  background-color: #F5F6FA;
  padding: 15px 0px;
  margin-top: 150px;
}

.breadcrumb .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #007a91;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 10px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding-right: 10px;
  color: #6c757d;
}

.breadcrumb-item.active {
  color: #6c757d;
}

@media (max-width: 768px) {
  .breadcrumb {
    margin-top:100px;
  }

}

.area-content p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow: hidden;
  font-weight: 200;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 2.9rem;
  color: var(--dark-text);
  /* Approximately 2 lines of text */
}

.research-areas-pagination {
  display: none;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.research-areas-pagination .research-dot {
  width: 10px;
  height: 10px;
  background-color: #D9D9D9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.research-areas-pagination .research-dot.active {
  background-color: #ffffff;
}

@media (max-width: 768px) {

  /* Mobile Header */
  .top-nav {
    display: none;
  }

  header {
    top: 0;
    padding: 15px 0 !important;
  }

  .logo {
    height: 30px;
  }

  .research-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .education-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .education-section .section-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .program-content h3 {
    font-size: 1.1rem;
  }

  .program-content {
    padding: 10px;
  }

  .program-content p {
    font-size: 0.9rem;
  }

  .education-programs .btn-devami {
    font-size: 0.9rem;
  }

  .program-content a {
    font-size: 0.9rem;
  }

  .research-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .research-image {
    height: 300px;
    border-radius: 12px;
  }

  .research-content {
    padding: 10px;
  }

  .research-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .research-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .research-content .btn-devami {
    font-size: 0.9rem;
  }

  .research-center-section .container:nth-child(2) h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .statistics-section .btn-view-all {
    display: none;
  }
}

/* Publications Section */
.publications-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.publications-slider {
  display: flex;
  margin-bottom: 60px;
  border-radius: 10px;
  max-height: fit-content;
  overflow: hidden;
}

.publication-item {
  display: flex;
  width: fit-content;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: white;
  transition: all 0.5s ease, visibility 1s ease-in-out, width 1s ease-in-out;
  padding: 30px;
  opacity: 0.5;
  scale: 0.8;
}

.publication-item.active {
  opacity: 1;
  width: 50%;
  z-index: 10;
  scale: 1;
}

.publication-item>.publication-content {
  visibility: hidden;
  width: 0;
}

.publication-item.active>.publication-content {
  visibility: visible;
  width: auto;
  display: flex;
}



.publication-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px var(--dark-text) solid;
  height: fit-content;
  border-radius: 8px;
  min-height: 200px;
}

.publication-image img {
  max-width: 100%;
  max-height: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.publication-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  padding-right: 40px;
  display: none;
}

.publication-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark-text);
  transition: display 1s ease-in-out;
}

.publication-content p {
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: small;
  color: #666;
}

.publication-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  align-self: flex-start;
  position: relative;
  padding-right: 20px;
  font-size: small;
}

.publication-link i {
  margin-left: 5px;
  font-size: 0.8rem;
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.publication-link:hover i {
  transform: translateX(5px);
}

.publications-slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.publication-dot {
  width: 10px;
  height: 10px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.publication-dot.active {
  background-color: #0056b3;
}

.detail-link-container {
  text-align: right;
  margin-top: 20px;
  padding-right: 20px;
}

.detail-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-right: 20px;
}

.detail-link i {
  margin-left: 5px;
  font-size: 0.8rem;
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.detail-link:hover i {
  transform: translateX(5px);
}

/* Publication Series */
.publication-series {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.publication-series::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.series-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 250px;
  flex: 0 0 auto;
  width: calc(25% - 22.5px);
  /* 4 items per row with gap consideration */
  transition: transform 0.3s ease;
}

.series-item:hover {
  transform: translateY(-5px);
}

.series-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
    margin-bottom:10px !important;
}

.series-image img {
  max-width: 100%;
  object-fit: contain;
}

.series-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
  text-align: center;
}

.series-item .btn-view-all {
  margin: 0 15px 15px;
  font-size: 0.9rem;
  background: none;
  align-self: center;
  display: inline-block;
  padding: 8px 10px;
  color: var(--primary-blue);
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.series-item .btn-view-all:hover {
  background-color: var(--primary-blue);
  color: white;
}

@media (max-width: 992px) {
  .series-item {
    width: calc(33.33% - 20px);
    /* 3 items per row on medium screens */
  }

    .series-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
  .publications-slider {
    min-height: 500px;
    margin-bottom: 0px;
  }

  .publication-item {
    flex-direction: row;
    align-items: center;
    text-align: center;
    padding: 20px;
    width: 100%;
    transition: all 0.5s ease, visibility 1s ease-in-out, width 1s ease-in-out, scale 0.5s ease;
    scale: 1;
  }

  .publication-item.active {
    width: 100%;
  }

  .publication-item.prev,
  .publication-item.next {
    scale: 0.8;
  }

  .publication-image {
    width: 180px;
    margin-bottom: 20px;
  }

  .publication-content {
    padding: 0;
  }

  .publication-link {
    align-self: center;
  }

  .publication-item.prev,
  .publication-item.next {
    display: none;
  }

  .series-item {
    width: calc(50% - 15px);
    /* 2 items per row on small screens */
  }

  .publication-series {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .series-item {
    width: 85%;
    /* 1 item with margins on very small screens */
  }
}

/* ISAR Media Section */
.media-section {
  padding: 80px 0;
  background-color: #1e3a4f;
  color: white;
}

.media-section .section-header {
  margin-bottom: 20px;
}

.media-section .section-header .btn-view-all {
  background-color: white;
  color: var(--primary-blue);
}

.media-section .section-header .btn-view-all:hover {
  background-color: var(--primary-blue);
  color: white;
}

.media-section h2 {
  color: white;
}

.media-section .container p {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 0 40px;
  text-align: left;
  font-size: 1.1rem;
}

.media-section .section-description {
  margin: 0 0 40px;
  text-align: left;
  max-width: 700px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.media-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  /* Set minimum height for consistency */
}

.media-card:hover {
  transform: translateY(-5px);
}

.media-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button,
.podcast-button,
.instagram-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.play-button:hover,
.podcast-button:hover,
.instagram-button:hover {
  transform: scale(1.1);
}

.media-pagination {
  display: none;
}

.media-content {
  padding: 20px;
  min-height: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: left;
}

.media-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 30px;
  text-align: left;
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
}

.media-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

.media-link i {
  margin-left: 5px;
  color: var(--primary-blue);
  font-size: 0.8rem;
}

/* Other Units Section */
.other-units-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.other-units-section h2 {
  color: var(--primary-blue);
}

.units-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.unit-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex: 0 0 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  display: flex !important;
  flex-direction: row;
  gap: 20px;
  border-left: 4px solid var(--primary-blue);
}

.other-units-section .btn-view-all-container-other-units .btn-view-all-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.other-units-section .btn-view-all-container-other-units .btn-view-all-header:hover {
  background-color: white;
  color: var(--primary-blue);
}

.unit-icon {
  flex-shrink: 0;
}

.unit-icon img {
    width: 53px;
}

.unit-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.unit-content h3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.unit-content p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.units-pagination {
  display: none;
}

.other-units-section .btn-view-all {
  display: none;
}

.other-units-section .btn-view-all-container-other-units {
  display: flex;
  justify-content: flex-end;
}

.other-units-section .btn-view-all-container-other-units .btn-view-all {
  background-color: var(--primary-blue);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.publications-section .btn-view-all-mobile {
  display: none;
}

@media (max-width: 992px) {
  .unit-card {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .units-grid {
    overflow-x: auto;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .publications-section .section-header .btn-view-all {
    display: none;
  }

  .publications-section .btn-view-all-container {
    display: flex;
    justify-content: flex-end;
  }

  .publications-section .btn-view-all-mobile {
    display: block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #4A90A7;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .other-units-section .btn-view-all-container-other-units .btn-view-all-header {
    display: none;
  }

  .units-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }

  .unit-card {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .units-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding-bottom: 0;
    position: relative;
  }

  .units-pagination .unit-pagination-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .units-pagination .unit-pagination-dot.active {
    background-color: #4A90A7;
  }

  .other-units-section .btn-view-all {
    position: static;
    display: inline-block;
    padding: 8px 20px;
    background-color: #4A90A7;
    color: white;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }
}

/* ISAR Bulletin Section */
.bulletin-section {
  padding-bottom: 80px;
  background-color: #f8f8f8;
}

.bulletin-section h2 {
  color: white;
}

.bulletin-section .container {
  padding: 80px;
  border-radius: 20px;
  background-color: #5aaa95;
}

.bulletin-grid {
  padding: 0;
  display: flex;
  gap: 30px;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: calc(100% - 10px);
  /* Ensure no partial view of 4th card */
}

.bulletin-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--dark-text);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 60px) / 3);
  /* Exactly 3 cards with 30px gaps */
  max-width: calc((100% - 60px) / 3);
}

.bulletin-section .section-header .btn-view-all {
  display: inline-block;
  padding: 8px 25px;
  background-color: white;
  color: var(--primary-green);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bulletin-section .section-header .btn-view-all:hover {
  background-color: var(--primary-blue);
  color: white;
}

.bulletin-section .section-header .nav-arrow {
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.bulletin-image {
  height: 200px;
  overflow: hidden;
}

.bulletin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bulletin-card:hover .bulletin-image img {
  transform: scale(1.05);
}

.bulletin-tag {
  position: absolute;
  top: 180px;
  left: 20px;
  background-color: white;
  color: var(--primary-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bulletin-content {
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bulletin-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.bulletin-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: auto;
  flex-grow: 1;
}

.bulletin-date {
  font-size: 0.85rem;
  color: #888;
  margin-top: 20px;
}

.bulletin-pagination .bulletin-dot {
  display: none;
}

/* Mobile styles for bulletin section */
@media (max-width: 768px) {
  .bulletin-section {
    padding: 0;
  }

  .bulletin-section .section-header .btn-view-all {
    display: none;
  }

  .bulletin-section .container {
    padding: 40px 10px;
    border-radius: 0;
    background-color: #5aaa95;
  }

  .media-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .media-pagination .media-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 5px;
  }

  .media-pagination .media-dot.active {
    background-color: white;
  }

  .bulletin-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
    padding: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .bulletin-card {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    /* Make card take full width */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
  }

  .bulletin-image {
    height: 180px;
  }

  .bulletin-tag {
    top: 160px;
    left: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
  }

  .bulletin-content {
    padding: 25px 20px 20px;
  }

  .bulletin-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .bulletin-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: auto;
  }

  .bulletin-date {
    font-size: 0.85rem;
    margin-top: 15px;
  }

  /* Pagination dots for mobile */
  .bulletin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
  }

  .bulletin-pagination .bulletin-dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .bulletin-pagination .bulletin-dot.active {
    background-color: #0A3161;
  }
}

.footer-links {
  background-color: #F5F6FA;
  padding: 50px 0;
  border-top: 1px solid #e0e0e0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr; /* 3. sütun 1.5 kat geniş */
    gap: 15px;
}

.footer-column h3 {
  color: #0091ad;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-column ul  {
    margin-left: 0;
}

.footer-column ul li {
    list-style: none;
    text-decoration: none;
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #555;
  transition: color 0.3s ease;
}


.footer-link a {
    color: #0091ad !important;
}

.footer-column ul li a:hover {
  color: #5a9ca4;
}

.address p {
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
}

ul {
    margin-left:30px;
}



a {
  text-decoration: none;
}

.footer-links-right ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Footer Logos */
.footer-logos {
  padding: 30px 0;
  background-color: #F5F6FA;
}

.footer-logos .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-logo {
  position: relative;
  padding-right: 40px;
}

.main-logo::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: #e0e0e0;
}

.main-logo img {
  height: 100px;
}

.sub-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.logo-item img {
  height: 50px;
}

/* Main Footer */
.main-footer {
  background-color: #F5F6FA;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.main-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #666;
  font-size: 14px;
}

.social-media a {
  color: #666;
  margin-left: 15px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #5a9ca4;
}

/* Responsive Design */
@media (max-width: 992px) {
  .news-grid {
    gap: 20px;
  }

  .footer-logos .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .footer-logos .main-logo {
    padding-right: 0px;
  }

  .main-logo::after {
    display: none;
  }

  .education-programs {
    gap: 30px;
  }

  .program-image {
    height: 200px;
  }

  .statistics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .statistic-item {
    margin-bottom: 30px;
  }

  .areas-grid {
    gap: 20px;
  }

  .publication-item {
    flex-direction: column;
  }

  .publication-image {
    width: 100%;
  }

  .publication-series {
    gap: 20px;
  }

  .media-grid {
    gap: 20px;
  }

  .units-grid {
    gap: 20px;
  }

  .bulletin-grid {
    gap: 20px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Mobile Header */
  .top-nav {
    display: none;
  }

  header {
    top: 0;
    padding: 15px 0;
  }

  .logo {
    height: 30px;
  }

  .main-nav {
    display: none;
  }

  .education-programs {
    flex-direction: column;
    gap: 30px;
  }

  .mobile-menu-button {
    display: flex;
    font-size: 1.8rem;
    background-color: transparent;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
  }

  .mobile-menu-button i {
    color: white;
  }

  .header-container {
    justify-content: space-between;
    padding: 0 5%;
  }

  .search-container {
    display: none;
  }

  /* Mobile Hero Section */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  }

  .hero-content {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    padding: 0 20px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .hero-content.active {
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    max-width: 80%;
    line-height: 1.4;
    opacity: 0.9;
  }

  .btn-incele {
    padding: 5px 40px;
    font-size: 1rem;
    border-radius: 30px;
    border: 1px solid white;
    background-color: transparent;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: auto;
    z-index: 10;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    display: inline-block;
  }

  .scroll-indicator {
    display: none;
  }


  .news-grid {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-item {
    margin-bottom: 15px;
    min-height: 120px;
    width: 100%;
    display: none;
  }

  .news-item.active {
    display: flex;
  }

  .news-item:nth-child(1),
  .news-item:nth-child(2) {
    display: flex;
  }

  .news-image {
    flex: 0 0 40%;
    height: 180px;
    border-radius: 10px 0 0 10px;
    padding: 10px;
  }

  .news-image img {
    max-width: 120px;
    max-height: 168px;
    object-fit: cover;
    border-radius: 6px;
  }

  .news-content {
    flex: 1;
    padding: 15px;
  }

  .news-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .statistics-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .statistic-item {
    width: 150px;
    height: 150px;
  }

    .stat-dot{
        display: none;
    }

  .publication-series {
    grid-template-columns: 1fr;
  }

  .research-center-section h2,
  .research-areas-section h2 {
    font-size: 1.8rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .bulletin-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Footer - Refined */
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .sub-logos {
    gap: 10px;
  }

  .logo-item {
    width: 100px;
  }

  .main-footer .container {
    flex-direction: column;
  }

  .copyright {
    margin-bottom: 15px;
  }

  .research-grid {
    flex-direction: column;
    gap: 30px;
  }

  .research-card {
    width: 100%;
  }

  /* Mobile Statistics Section */
  .statistics-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .statistic-item {
    width: 100%;
    height: 150px;
    display: none;
  }

  .statistic-item.active {
    display: flex;
  }

  .statistics-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
  }

  .statistics-pagination .stat-pagination-dot {
    width: 8px;
    height: 8px;
    background-color: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .statistics-pagination .stat-pagination-dot.active {
    background-color: var(--primary-blue);
  }

  /* Mobile Research Areas Section */
  .areas-grid {
    flex-direction: column;
    gap: 0;
  }

  .area-card {
    width: 100%;
    display: none;
  }

  .area-card.active {
    display: flex;
  }

  .research-areas-pagination {
    display: flex;
  }


  /* Mobile Other Units Section */
  .units-grid {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
  }


  .unit-card {
    flex: 0 0 100%;
    max-width: 100%;
    display: none;
  }

  .unit-card.active {
    display: flex;
  }

  .units-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding-bottom: 0;
    position: relative;
  }

  .units-pagination .unit-pagination-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .units-pagination .unit-pagination-dot.active {
    background-color: #4A90A7;
  }

  .other-units-section .btn-view-all {
    display: block;
    padding: 8px 20px;
    background-color: #4A90A7;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .other-units-section .container .btn-view-all-container {
    display: flex;
    justify-content: flex-end;
  }
}

/* Add responsive adjustments for mobile */
@media (max-width: 768px) {
  .media-card {
    min-height: 300px;
    /* Slightly smaller minimum height on mobile */
    display: none;
    /* Hide all cards by default */
  }

  .media-card.active {
    display: flex;
    /* Only show active card */
  }

  .media-content {
    min-height: 100px;
    padding-bottom: 60px;
    /* Add padding at the bottom to ensure space for the button */
    position: relative;
  }

  .media-content h3 {
    text-align: left !important;
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
  }

  .media-content p {
    text-align: left !important;
    margin: 0 0 30px 0 !important;
    display: block !important;
    width: 100% !important;
    font-style: italic !important;
    color: white !important;
  }

  .media-link {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    color: var(--primary-blue) !important;
  }

  .media-link i {
    color: var(--primary-blue) !important;
  }
}

@media (max-width: 768px) {
  .media-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
  }

  .media-section .section-header .btn-view-all {
    display: none;
  }

  .media-section h2 {
    text-align: center;
    margin-bottom: 15px;
  }

  .media-section .container p,
  .media-section .section-description {
    text-align: center;
    margin: 0 auto 30px;
    display: block;
    max-width: 90%;
    font-style: normal;
    color: white;
  }

  /* Fix for author names in media content */
  .media-content p {
    text-align: left !important;
    margin: 0 0 30px 0 !important;
    display: block !important;
    width: 100% !important;
    font-style: italic !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .media-content h3 {
    text-align: left !important;
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
  }
}

.publication-series-dots {
  display: none;
  text-align: center;
  margin-top: 20px;
}

.series-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.series-dot.active {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .publication-series {
    display: block;
    overflow: hidden;
    margin: 30px 0;
  }

  .series-item {
    display: none;
    width: 100%;
    margin: 0;
  }

  .series-item.active {
    display: block;
  }

  .publications-section .publication-series-dots {
    display: block;
  }
}

/* Institutional Page Styles */
.institutional-container {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.institutional-title {
  color: var(--primary-blue);
  margin-bottom: 90px;
  font-size: 2.5rem;
  font-weight: 700;
}

.institutional-content {
  display: flex;
  gap: 40px;
}

.institutional-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: relative;
  padding-left: 20px;
}

.institutional-sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: #e0e0e0;
}

.institutional-main {
  flex: 1;
}

.section-title {
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.section-content p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.sidebar-menu {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 20px;
}

.sidebar-links a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.sidebar-links a:hover {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.sidebar-links a.active {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.3rem;
}

.institutional-section {
  display: none;
}

.institutional-section.active {
  display: block;
}

@media (max-width: 768px) {
  .institutional-content {
    flex-direction: column;
  }
  .institutional-title {
    margin-bottom: 0px;
  }
  .institutional-section {
    padding-top: 100px;
  }
  .institutional-sidebar {
    width: 100%;
    margin-bottom: 30px;
    padding-left: 15px;
  }

  .institutional-sidebar::before {
    height: 100%;
  }
}

/* Updated Yerleşkeler (Campuses) Section Styles with left-bottom alignment and bold text */
.campuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.campus-card {
    position: relative; /* Layer eklemek için şart */
    border-radius: 10px;
    padding: 30px 25px;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* dışarı taşmaları önler */
}

.campus-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 145 173 / 70%);
    border-radius: 10px; /* köşeler ana div ile uyumlu */
    z-index: 1;
}

.campus-card > * {
    position: relative;
    z-index: 2;
}

.campus-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    margin: 0;
    line-height: 1.4;
}

/* Make the grid 2x2 for the last row */
.campuses-grid .campus-card:nth-child(4),
.campuses-grid .campus-card:nth-child(5) {
  grid-column: span 1.5;
}

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

  .campuses-grid .campus-card:nth-child(4),
  .campuses-grid .campus-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
    .campuses-grid {
        grid-template-columns: 1fr;
    }


    .pagination a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        margin: 0 2px;
        font-size: 14px;
    }

}

/* ISAR in Numbers Section Styles */
.stats-container {
  margin: 40px 0;
  max-width: 800px;
  margin-left: auto;
}

.stat-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: right;
  padding-right: 20px;
  width: 50%;
}

.stat-value {
  width: 220px;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  background-color: var(--primary-blue);
  text-align: center;
  border-radius: 25px;
}

@media (max-width: 768px) {
  .stats-container {
    margin-left: 0;
  }

  .stat-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .stat-label {
    text-align: left;
    margin-bottom: 10px;
    padding-right: 0;
    width: 100%;
  }

  .stat-value {
    width: 100%;
  }
}

/* ISAR Promotional Film Section Styles */
.video-container {
  margin-top: 30px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.play-button i {
  color: var(--primary-blue);
  font-size: 30px;
  margin-left: 5px;
}

.video-wrapper:hover .play-button {
  background-color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 24px;
  }
}

/* Corporate Identity Section Styles */
.text-center {
  text-align: center;
}

.logo-downloads {
  margin-top: 40px;
}

.logo-item {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}

.logo-preview {
  width: 260px;
  height: 160px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-right: 1px solid #eee;
}

.logo-preview img {
  max-width: 100%;
  max-height: 100%;
}

.logo-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

.logo-download-links {
  display: flex;
  gap: 20px;
}

.download-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-link i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.download-link:hover {
  transform: translateY(-3px);
  color: #007a91;
}

@media (max-width: 768px) {
  .logo-item {
    flex-direction: column;
  }

  .logo-preview {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .logo-info {
    padding: 15px;
  }

  .logo-download-links {
    justify-content: space-around;
  }
}

/* Updated History Section Styles */
.history-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.history-image {
  flex: 0 0 300px;
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background-color: var(--primary-blue);
}

.history-text {
  flex: 1;
}

.history-text p {
  margin: 0;
  line-height: 1.7;
  text-align: justify;
  color: #444;
}

@media (max-width: 992px) {
  .history-layout {
    flex-direction: column;
  }

  .history-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
  }
}

/* Right-aligned section titles */
.right-aligned {
  text-align: right;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .right-aligned {
    text-align: center;
  }
}

.mucellithane-social-bar {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 4px;
  margin-top: 20px;
  width: fit-content;
  margin-left: auto;
}

.social-handle {
  color: #0091AD;
  font-weight: 700;
  margin-right: 15px;
}

.social-icon {
  color: #0091AD;
  font-size: 1.2rem;
  margin-left: 10px;
  text-decoration: none;
}

.social-icon:hover {
  opacity: 0.8;
}

/* Research Page Styles */
.research-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
  display: flex;
  flex-direction: row-reverse;
  margin-top: 120px;
}

.research-main {
  flex: 1;
  padding-left: 30px;
  padding-right: 30px;
}

.research-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: relative;
  padding-left: 30px;
  padding-right: 20px;
}

.research-sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  height: calc(100% - 40px);
  width: 1px;
  background-color: #e0e0e0;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 30px;
}

.sidebar-links li {
  margin-bottom: 15px;
}

.sidebar-links a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  color: var(--primary-blue);
}

.research-title {
  color: var(--primary-brown);
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
}

.research-description {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
  font-size: 15px;
}

.research-section-title {
  color: var(--primary-brown);
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
}

.activities-subtitle {
  color: var(--primary-brown);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 40px 0 20px;
}

.activities-list,
.atelier-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 40px;
}

.activities-list li,
.atelier-list li {
  margin-bottom: 15px;
}

.activities-list a,
.atelier-list a {
  color: #666;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.activities-list a:hover,
.atelier-list a:hover {
  color: var(--primary-brown);
}

.activities-list a i,
.atelier-list a i {
  color: var(--primary-brown);
  font-size: 0.8rem;
  margin-left: 8px;
}

.atelier-list li {
  display: flex;
  flex-direction: column;
}

.instructor {
  color: #888;
  font-size: 0.9rem;
  margin-top: 5px;
  display: block;
}

.research-section {
  display: none;
}

.research-section.active {
  display: block;
}

.ihtisas-content {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.ihtisas-image {
  flex: 0 0 300px;
}

.ihtisas-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.ihtisas-text {
  flex: 1;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.research-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: var(--primary-brown);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.2rem;
}

.projects-list,
.study-groups-list,
.activities-list,
.atelier-list,
.corporate-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.projects-list li,
.study-groups-list li,
.activities-list li,
.atelier-list li,
.corporate-list li {
  margin-bottom: 15px;
}

.projects-list a,
.study-groups-list a,
.activities-list a,
.atelier-list a,
.corporate-list a {
  color: #666;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.projects-list a:hover,
.study-groups-list a:hover,
.activities-list a:hover,
.atelier-list a:hover,
.corporate-list a:hover {
  color: #8B2332;
}

.projects-list a i,
.study-groups-list a i,
.activities-list a i,
.atelier-list a i,
.corporate-list a i {
  color: #8B2332;
  font-size: 0.8rem;
  margin-left: 8px;
}

@media (max-width: 992px) {
  .research-container {
    flex-direction: column;
  }

  .research-sidebar {
    width: 100%;
    margin-bottom: 30px;
    padding-right: 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
  }

  .research-sidebar::before {
    display: none;
  }

  .research-main {
    padding-left: 0;
  }

  .sidebar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .sidebar-links li {
    margin-bottom: 0;
  }

  .ihtisas-content {
    flex-direction: column;
  }

  .ihtisas-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .research-container {
    margin-top: 100px;
  }

  .sidebar-links {
    flex-direction: column;
  }

  .sidebar-links li {
    margin-bottom: 10px;
  }
}

/* Research section layout */
.research-section {
  position: relative;
}

.research-section-title {
  float: left;
  width: 230px;
  clear: left;
}

.projects-list,
.study-groups-list,
.corporate-list {
  margin-left: 250px;
}

/* Special case for the main research title */
.research-title {
  /* Keep the original positioning */
  width: 100%;
  margin-bottom: 30px;
  float: none;
}

.research-description {
  /* Keep the original positioning */
  width: 100%;
}

/* Activities section special handling */
.activities-subtitle {
  /* Keep in normal flow, don't float */
  margin-left: 250px;
  width: auto;
  margin-top: 40px;
  margin-bottom: 20px;
}

.activities-list,
.atelier-list {
  margin-left: 250px;
}

/* Clear floats */
.research-section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .research-section-title {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .projects-list,
  .study-groups-list,
  .activities-list,
  .atelier-list,
  .corporate-list {
    margin-left: 0;
  }

  .activities-subtitle {
    margin-left: 0;
  }
}

/* Article Page Styles */
.article-hero {
  height: 70vh;
  background-image: url('https://images.unsplash.com/photo-1563804951831-9f8692ff9c9f');
  background-size: cover;
  background-position: center;
  justify-content: flex-end;
  padding: 40px;
}

.article-hero::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0,0.7));
}

.article-hero-content {
  max-width: 800px;
}

.article-category {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* For mobile devices */
@media (max-width: 768px) {
  .article-category {
    font-size: 1rem;
  }
}

.article-author {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-top: 15px;
  letter-spacing: 0.3px;
}

/* For mobile devices */
@media (max-width: 768px) {
  .article-author {
    font-size: 1rem;
  }
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  color: #333;
}

.article-content p {
  margin-bottom: 20px;
}

.share-section {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.3s;
}

.share-button:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Author Bio Section */
.author-bio-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.author-bio {
    margin: 0;
    padding: 0;
}

.author-name {
    color: #009CB4;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.author-content {
    display: flex;
    align-items: flex-start;
}

.author-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 30px;
    flex-shrink: 0;
}

.author-bio p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .author-content {
        flex-direction: column;
    }

    .author-image {
        margin-bottom: 20px;
        margin-right: 0;
    }

    .author-bio-container,
    .related-articles {
        margin: 60px auto;
    }
}

/* Related Articles Section */
.related-articles {
    margin: 80px auto;
    padding: 0;
    max-width: 1000px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.related-title {
    color: #009CB4;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.related-navigation {
    display: flex;
    gap: 15px;
}

.nav-arrow {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #009CB4;
    font-size: 1rem;
    padding: 0;
}

.related-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 0 15px;
}

.related-item {
    display: flex;
    flex-direction: row;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: calc(33.333% - 14px);
}

.related-image img {
    width: 80px;
    height: 100%;
    background-color: #e0e0e0;
    flex-shrink: 0;
    object-fit: cover;
}

.related-item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.related-item-title {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.related-link {
    display: block;
    color: #009CB4;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: right;
    margin-top: auto;
}

.related-link i {
    font-size: 0.8rem;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .related-grid {
        flex-direction: column;
    }

    .related-item {
        width: 100%;
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-navigation {
        margin-top: 15px;
    }
}

@media (max-width: 992px) {
  .top-nav {
    display: none;
  }

  header {
    padding: 15px 0;
  }

  .logo {
    max-width: 120px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
    font-size: 1.8rem;
    background-color: transparent;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
  }

  .mobile-menu-button i {
    color: white;
  }

  .header-container {
    justify-content: space-between;
    padding: 0 5%;
  }

  .search-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .education-programs{
    flex-direction: column;
    gap: 30px;
  }

  .hero {
    padding: 0;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    position: relative;
    top: 0;
    transform: none;
    padding: 0 10%;
    margin-top: 80px;
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    max-width: 100%;
    line-height: 1.4;
  }

  .btn-incele {
    padding: 5px 40px;
    font-size: 1rem;
    border-radius: 30px;
    border: 1px solid white;
    background-color: transparent;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: auto;
    z-index: 10;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    display: inline-block;
  }

  .scroll-indicator {
    display: none;
  }
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-blue);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close:hover {
  background-color: #007a91;
  transform: rotate(90deg);
}

.mobile-menu-close i {
  transition: transform 0.3s ease;
}

.area-card {
    position: relative; /* Establish positioning context */
}

.area-card .btn-devami {
    position: absolute; /* Fix the button's position */
    bottom: 20px; /* Distance from the bottom */
    right: 30px; /* Distance from the right */
}
.series-item {
  position: relative;
}

.series-item .btn-devami {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.publications-slider-dots {
  display: none;
}
/* Article Page Styles */
.article-hero {
  height: 70vh;
  background-image: url('https://images.unsplash.com/photo-1563804951831-9f8692ff9c9f');
  background-size: cover;
  background-position: center;
  justify-content: flex-end;
  padding: 40px;
}

.article-hero::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0,0.7));
}

.article-hero-content {
  max-width: 800px;
}

.article-category {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* For mobile devices */
@media (max-width: 768px) {
  .article-category {
    font-size: 1rem;
  }
}

.article-author {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-top: 15px;
  letter-spacing: 0.3px;
}

/* For mobile devices */
@media (max-width: 768px) {
  .article-author {
    font-size: 1rem;
  }
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  color: #333;
}

.article-content p {
  margin-bottom: 20px;
}

.share-section {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.3s;
}

.share-button:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Author Bio Section */
.author-bio-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.author-bio {
    margin: 0;
    padding: 0;
}

.author-name {
    color: #009CB4;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.author-content {
    display: flex;
    align-items: flex-start;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 30px;
    flex-shrink: 0;
}

.author-bio p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .author-content {
        flex-direction: column;
    }

    .author-image {
        margin-bottom: 20px;
        margin-right: 0;
    }

    .author-bio-container,
    .related-articles {
        margin: 60px auto;
    }
}

/* Related Articles Section */
.related-articles {
    margin: 80px auto;
    padding: 0;
    max-width: 1000px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.related-title {
    color: #009CB4;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.related-navigation {
    display: flex;
    gap: 15px;
}

.nav-arrow {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #009CB4;
    font-size: 1rem;
    padding: 0;
}

.related-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 0 15px;
}

.related-item {
    display: flex;
    flex-direction: row;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: calc(33.333% - 14px);
}

.related-image {
    width: 80px;
    height: 80px;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.related-item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.related-item-title {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.related-link {
    display: block;
    color: #009CB4;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: right;
    margin-top: auto;
}

.related-link i {
    font-size: 0.8rem;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .related-grid {
        flex-direction: column;
    }

    .related-item {
        width: 100%;
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-navigation {
        margin-top: 15px;
    }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
  z-index: 10;
}

.scroll-line {
  width: 2px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  animation: scrollAnimation 1.5s infinite;
}

@keyframes scrollAnimation {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin: 0 5px;
    border-radius: 8px;
    color: #666;
}

.pagination a.active {
    background-color: #2b8599;
    color: white;
}

.pagination a:hover:not(.active) {
    background-color: #eee;
}

.pagination-arrow {
    font-size: 12px;
}

.pl-20 {
    padding-left: 20px;
}
.border-none {
    border: none !important;
}

.p-0{
    padding: 0 !important;
}


.contact-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* Map her zaman tam genişlik */
.contact-map {
    width: 100%;
}

.contact-info,
.contact-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Info ve form kapsayıcı */
@media (min-width: 768px) {
    .contact-info,
    .contact-form {
        width: 50%;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info-form-wrapper {
        display: flex;
        gap: 20px;
    }
}

/* Mobilde alt alta */
@media (max-width: 767px) {
    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-info-form-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/* Contact Info */


.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.info-table th {
    width: 40%;
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.info-table td {
    color: #555;
}

.info-table tr:last-child td,
.info-table tr:last-child th {
    border-bottom: none;
}

/* Mobilde yatay kaydırma için */
@media (max-width: 600px) {
    .info-table {
        font-size: 14px;
    }
}


/* Contact Form */

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.contact-form button {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: var(--primary-blue);
    color: #fff;
    border: none;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: var(--primary-green);
}

/* Mobil uyum */
@media (max-width: 600px) {
    .contact-form {
        padding: 15px;
    }

    .contact-form button {
        width: 100%;
        text-align: center;
    }
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 20px;
}

.left-image,
.right-images {
    flex: 1;
}

.left-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.right-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-images img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* Responsive - Mobile görünüm */
@media (max-width: 768px) {
    .image-grid {
        flex-direction: column;
    }

    .right-images {
        flex-direction: column;
    }
}

