/*=============== Hakkımızda.html Css =================*/
:root {
  --sidebar-bg: #f8f9fa;
  --sidebar-hover: #e9ecef;
  --text-color: #212529;
  --border-color: #dee2e6;
  --transition-duration: 1s;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #fff;
}

/* Container Styles */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Sidebar Styles */
.sidebar-container {
  padding: 0;
}

.sidebar {
  background-color: var(--sidebar-bg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 100vh;
  overflow-y: auto;
  border-radius: 0 10px 10px 0;
}

.sidebar-sticky {
  position: sticky;
  top: 0;
  padding-top: 1rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar .nav-link {
  font-weight: 500;
  color: var(--text-color);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
  background-color: var(--sidebar-hover);
  transform: translateX(5px);
}

.sidebar .nav-link.active {
  border-left-color: var(--primarycolor);
  background-color: rgba(220, 53, 69, 0.1);
}

.sidebar .dropdown-toggle {
  position: relative;
}

.sidebar .dropdown-toggle::after {
  display: block;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.sidebar .dropdown-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}

.sidebar .menu-icon {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--primarycolor);
}

.sidebar .submenu {
  padding-left: 2.5rem;
  border-left: 1px solid var(--border-color);
  margin-left: 10px;
}

.sidebar .submenu .nav-link {
  font-weight: 400;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Simplified Collapse Animation */
.collapse {
  /* display: block !important; /* Bootstrap handles display */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease; /* Adjusted duration for smoother feel */
}

.collapse.show {
  max-height: 1000px; /* Set a large enough max-height to accommodate content */
}

/* Nav Item Styling */
.sidebar .nav-item {
  margin-bottom: 5px;
}

.sidebar .nav-item.dropdown {
  border-radius: 5px;
  margin: 5px 10px;
  overflow: hidden;
}

.sidebar .dropdown-toggle {
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 5px;
}

.sidebar .submenu .nav-link:hover {
  color: var(--primarycolor);
  background-color: rgba(220, 53, 69, 0.05);
}

/* Main Content Styles */
.content-container {
  padding: 1.5rem;
}

.content-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  font-size: 0.9rem;
  color: #6c757d;
}

.breadcrumb a {
  color: #6c757d;
  text-decoration: none;
  margin-right: 0.5rem;
}

.breadcrumb a:hover {
  color: var(--primarycolor);
}

.page-title-2 {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 1.7rem;
}

.content-text {
  line-height: 1.6;
}

.content-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.content-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.content-list li i {
  margin-right: 0.75rem;
  font-size: 0.5rem;
}

/* Mobile Menu Toggle */
.sidebar-toggle-button {
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primarycolor);
  color: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

/* Responsive Styles */

@media (max-width: 767.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transform: translateX(-100%);
    width: 80% !important;
    max-width: 300px;
    transition: transform 0.3s ease;
    border-radius: 0;
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .sidebar-toggle-button {
    display: block;
  }

  .content-container {
    width: 100%;
    padding: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .main-container {
    max-width: 95%;
  }
}


@media (max-width: 480px) {
  .logo img {
    height: 87px !important;
    margin-top: -67px !important;
    margin-right: 148px;
  }
}
