/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #36343a;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #00519c;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #444444;
  /* The default color of the main navmenu links */
  --nav-hover-color: #009970;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #009970;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}


body {
    overflow-x: hidden; /* Yatayda scroll taşmasını önle */
    width: 100%;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
/*alt sayfaların tasarımları */
.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}

.cms-content p {
  line-height: 1.7;
  font-size: 1.05rem;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cms-content ul {
  padding-left: 1.2rem;
}

.cms-content blockquote {
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
  color: #555;
  margin: 1.5rem 0;
  font-style: italic;
}

.academic-section {
  background-color: #f8f9fa;
}

.section-title-accent {
  width: 60px;
  height: 4px;
  background-color: #009970;
  border-radius: 2px;
}

.section-split-border-end {
  border-right: 1px solid rgba(220, 220, 220, 0.5);
}

.content-main-image {
  object-fit: cover;
}

.content-main-image-md {
  max-height: 450px;
}

.content-main-image-lg {
  max-height: 600px;
}

.news-content p {
  margin-bottom: 1rem;
}

.gallery-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  transition: .2s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  opacity: .85;
}

.special-gallery-panel,
.attachment-panel {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.special-gallery-badge {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00519c 0%, #0b6abf 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.special-gallery-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.special-gallery-card {
  border: 1px solid #e7eef6;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(14, 46, 89, 0.06);
}

.special-gallery-toggle {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.special-gallery-toggle-text {
  font-size: 1rem;
  font-weight: 700;
  color: #1d2b3a;
}

.special-gallery-toggle-icon {
  font-size: 1rem;
  color: #00519c;
  transition: transform 0.2s ease;
}

.special-gallery-toggle[aria-expanded="true"] .special-gallery-toggle-icon {
  transform: rotate(180deg);
}

.special-gallery-cover-link {
  display: block;
  background: #eef4fa;
}

.special-gallery-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.special-gallery-content {
  padding: 16px;
}

.special-gallery-text {
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5a6774;
}

.special-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.special-gallery-thumb-link {
  display: block;
}

.special-gallery-thumb {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.special-gallery-thumb:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.attachment-list {
  gap: 10px;
}

.attachment-item {
  padding: 12px 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
}

.attachment-item:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.attachment-name {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .special-gallery-cover {
    height: 200px;
  }
}

.event-image-muted {
  filter: grayscale(100%);
  opacity: 0.6;
}

.contact-map {
  width: 100%;
  border: 0;
}

.contact-map-lg {
  height: 500px;
}

.contact-map-sm {
  height: 270px;
}

.hidden-honeypot {
  display: none;
}

.academic-card {
  border-left: 5px solid #ff6b35;
}

.academic-card-header {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
}

.publication-card {
  border-left: 5px solid #1885eb;
}

.publication-card-header {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #00519c 0%, #0066b3 100%);
}

.archive-date-column {
  width: 90px;
}

.rota-label-small {
  font-size: smaller;
}

.rota-meta-small {
  font-size: x-small;
}

/*alt sayfaların tasarımları */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  /*--background-color: #060606;*/
  --background-color: #06060600 --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #012f5a;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #00cc95;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* Email Form Messages
------------------------------*/
.email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: email-form-loading 1s linear infinite;
}

@keyframes email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #ffffff;
  color: var(--default-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .header-container {
  background-color: var(--background-color);
  transition: all 0.5s;
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 20px;
}

.header .logo {
  /*background: var(--accent-color);*/
  position: absolute;
  inset: 0 auto 0 0;
  padding: 0 20px;
}

.header .logo img {
  max-height: 150px;
  margin-right: 5px;
  margin-top: 12px;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 500;
  color: var(--contrast-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 20px;
  margin: 0 5px 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.scrolled .header {
  padding: 0;
  background-color: var(--background-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
  .header {
    padding: 0;
  }

  .header .header-container {
    padding: 25px 0;
    border-radius: 0px;
  }


  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/



/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 12px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    cursor: pointer;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  #navmenu .dropdown>ul {
    display: none;
  }

  #navmenu .dropdown.dropdown-active>ul {
    display: block;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 150px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0px 0;
  scroll-margin-top: 65px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 53px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -100px;
    padding-top: 100px;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


.hero img {
  inset: 0;
  width: 450px;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: inline-block;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

.hero .btn-get-started {
  color: var(--default-color);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 40px;
  margin: 30px 0 0 0;
  border-radius: 50px;
  transition: 0.5s;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width:1200px) {
  .header .logo img {
    width: 150px;

  }

  .hero img {
    /* position: absolute; */
    inset: 0;
    /* display: block; */
    width: 350px;
    object-fit: contain; 
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-bottom: 40px;
  padding-top: 40px;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  /*padding: 20px 40px;*/
  max-width: 85%;
  transition: 0.3s;
  /*opacity: 0.5;
  filter: grayscale(100);*/
}

.clients .client-logo img:hover {
  max-width: 100%;
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 10px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding: 20px 0;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

.mini-box {
  min-height: 110px; 
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px 10px;
  transition: all 0.25s ease;
  height: 100%;
  background: #fff;
  position: relative;
  overflow: visible;   /* 🔥 BU KRİTİK */
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.mini-box p {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* kaç satır görünsün */
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0px 10px;
}

.mini-box-link {
  text-decoration: none;
}

.mini-box:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.mini-date {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  display: inline-block;
  margin-bottom: 6px;
}

.mini-box h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--default-color);
  margin-bottom: 4px;
  line-height: 1.4;
}

.mini-box p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
  background-color: color-mix(in srgb,
      var(--accent-color) 20%,
      transparent);
}

.call-to-action .cta-btn:hover {
  background-color: color-mix(in srgb,
      var(--accent-color) 60%,
      transparent);
  border: 2px solid var(--accent-color);
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0 0 20px 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  background-color: var(--surface-color);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.portfolio .portfolio-content:hover{
     transform: translateY(-2px);
}

.portfolio .portfolio-content img {
  transition: 0.3s;
  position: relative;
  z-index: 1;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.portfolio .portfolio-content .portfolio-info {
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 15px 10px;
  position: relative;
  z-index: 2;
  min-height: 90px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 12px;
  font-weight: 600;
  padding-right: 10px;
  min-height: 50px;
  text-align: center;
}

.portfolio .portfolio-content .portfolio-info h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info h4 a:hover {
  color: var(--accent-color);

}

.portfolio .portfolio-content .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 10px;
  min-height: 50px;

}

.portfolio .portfolio-content:hover img {
  /*transform: scale(1.1);*/
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.portfolio .portfolio-filters-vertical {
  padding: 10px 20px 20px 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* sola yasla */
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters-vertical {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    /* sığmazsa alta geçsin */
    gap: 15px;
  }

  .portfolio .portfolio-filters-vertical li {
    margin-bottom: 0;
  }
}

.portfolio .portfolio-filters-vertical li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 2;
  transition: all 0.3s ease-in-out;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .email-form {
    padding: 20px;
  }
}

.contact .email-form input[type=text],
.contact .email-form input[type=email],
.contact .email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .email-form input[type=text]:focus,
.contact .email-form input[type=email]:focus,
.contact .email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .email-form input[type=text]::placeholder,
.contact .email-form input[type=email]::placeholder,
.contact .email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}


.logo-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 9;
  text-align: center;
  background-color: rgba(255,255,255,.95);
  padding: 12px 20px;
  border-radius: 30px;
  transition: opacity .4s ease, visibility .4s ease;
}

/* Büyük ekranlarda biraz yukarı al */
@media (min-width: 1200px) {
  .logo-overlay {
    bottom: 40px;
  }
}

.logo-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.slide-hero {
  position: relative;
  height: 575px;
  min-height: 575px;
  padding-top: 0;
  margin-top: 0;
  display: block;
  background-color: #fff;
}

.slide-hero:before {
  background: transparent;
  pointer-events: none;
}


.slide-hero .carousel,
.slide-hero .carousel-inner,
.slide-hero .carousel-item {
  height: 560px;
  min-height: 560px;
  background-color: #fff;
  overflow: hidden;
}


.slide-hero-image {
  display: block;
  width: 100% !important;
  /* max-width: 2000px !important; */
  /* height: 560px !important;
  min-height: 560px !important; */
  object-fit: cover;
  background-color: #fff;
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
}

.slide-hero-link {
  display: block;
  height: 100%;
  line-height: 0;
  background-color: #fff;
}

.slide-hero-caption {
  right: auto;
  left: 7%;
  bottom: 12%;
  max-width: min(560px, 80vw);
  padding: 24px 28px;
  text-align: left;
  background: rgba(0, 30, 58, 0.62);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.slide-hero-caption h2,
.slide-hero-caption p {
  color: #fff;
}

.slide-hero-caption h2 {
  margin-bottom: 8px;
}

.slide-hero-caption p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.slide-hero-indicators {
  bottom: 28px;
}

.slide-hero-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .slide-hero,
  .slide-hero .carousel,
  .slide-hero .carousel-inner,
  .slide-hero .carousel-item,
  .slide-hero-link {
    height: auto !important;
    min-height: 0 !important;
  }

  .slide-hero-image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain;
    object-position: center center;
    margin-left: 0;
    margin-right: 0;
  }

  .slide-hero-caption {
    left: 14px;
    right: 14px;
    bottom: 56px;
    max-width: none;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .slide-hero-caption h2 {
    font-size: 1.4rem;
  }

  .slide-hero-caption p {
    font-size: 0.82rem;
  }

  .slide-hero-indicators {
    bottom: 16px;
  }
}

.ribbon {
    width: 100px;
    min-height: 110px;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 0;
    overflow: hidden;
    border-radius: 10px;
}
.ribbon span.new {
    position: absolute;
    display: block;
    width: 110px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-align: center;
    transform: rotate(-90deg);
    top: 41px;
    left: -43px;
    font-size: 12px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 10px;
    padding: 5px 0px;
    background: rgb(165, 6, 6);
}
.ribbon span {
    position: absolute;
    display: block;
    width: 110px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-align: center;
    transform: rotate(-90deg);
    top: 41px;
    left: -43px;
    font-size: 12px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 10px;
    padding: 5px 0px;
    background: rgb(108, 108, 108);
}
/*Rota Bilgi Sistemi*/

.rotabilgisistemi * {
  box-sizing: border-box;
}

.rotabilgisistemi .rotaaccordion-item {
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
  background: #fff;
}

.rotabilgisistemi .rotaaccordion-header {
  width: 100%;
}

.rotabilgisistemi .rotaaccordion-button {
  all: unset;
  /* Bootstrap’ı kökten keser */
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .3px;
  transition: all .25s ease;
}

.rotabilgisistemi .rotaaccordion-button:hover {
  filter: brightness(1.08);
}

/* focus – accessibility geri ekleniyor */
.rotabilgisistemi .rotaaccordion-button:focus-visible {
  outline: 3px solid rgba(59, 130, 246, .4);
  outline-offset: 2px;
}

.rotabilgisistemi .rotaheader-icon {
  width: 22px;
  height: 22px;
}

.rotabilgisistemi .rotaaccordion-collapse {
  background: #ffffff;
}

.rotabilgisistemi .accordion-body {
  border-top: 1px solid #eef2f7;
}

/* GROUP 1 – MAVİ */
.rotabilgisistemi .rotagroup-1 .rotaaccordion-button {
  background: #1e3a8a;
  color: #ffffff;
}

.rotabilgisistemi .rotagroup-1 .rotaaccordion-button:not(.collapsed) {
  background: #162c66;
  color: #ffffff;
}


/* GROUP 2 – TURUNCU */
.rotabilgisistemi .rotagroup-2 .rotaaccordion-button {
  background: #ea580c;
  color: #ffffff;
}

.rotabilgisistemi .rotagroup-2 .rotaaccordion-button:not(.collapsed) {
  background: #c2410c;
  color: #ffffff;
}


/* GROUP 3 – YEŞİL */
.rotabilgisistemi .rotagroup-3 .rotaaccordion-button {
  background: #16a34a;
  color: #ffffff;
}

.rotabilgisistemi .rotagroup-3 .rotaaccordion-button:not(.collapsed) {
  background: #15803d;
  color: #ffffff;
}

/* BUTON VE İKON BOYUTLARI */
.rotabilgisistemi .rotaservice-link {
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  display: block;
  border-color: #444444;
}

.rotabilgisistemi .rotaservice-item {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: all 0.2s ease-in-out;
}

/* İkon dairesi büyütüldü (64px) */
.rotabilgisistemi .rotaicon-circle {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  transform: scale(1.1);
}

/* İkonların kendi boyutu CSS ile büyütüldü */
.rotabilgisistemi .rotaicon-circle i {
  width: 64px;
  height: 64px;
  stroke-width: 2px;
}

/* GRUP RENKLERİ VE HOVER */
.rotabilgisistemi .rotagroup-1 .rotaicon-circle {
  background-color: #eff6ff !important;
  color: #1e3a8a;
  border: 1px solid #a1a1a1;
}

.rotabilgisistemi .rotagroup-1 .rotaservice-link:hover .rotaicon-circle {
  background: #1e3a8a !important;
  color: #FFFFFF;
  transform: scale(1.1);
}

.rotabilgisistemi .rotagroup-1 .rotaservice-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #475569;
}

.rotabilgisistemi .rotagroup-2 .rotaicon-circle {
  background-color: #fff7ed !important;
  color: #ea580c;
  border: 1px solid #ecb59b
}

.rotabilgisistemi .rotagroup-2 .rotaservice-link:hover .rotaicon-circle {
  background: #ea580c !important;
  color: #FFFFFF;
  transform: scale(1.1);
}

.rotabilgisistemi .rotagroup-2 .rotaservice-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #ea580c;
 
}

.rotabilgisistemi .rotagroup-3 .rotaicon-circle {
  background-color: #16a34a17 !important;
  color: #16a34a;
  border: 1px solid #92ddad
}

.rotabilgisistemi .rotagroup-3 .rotaservice-link:hover .rotaicon-circle {
  background: #16a34a !important;
  color: #FFFFFF;
  transform: scale(1.1);
}

.rotabilgisistemi .rotagroup-3 .rotaservice-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #16a34a;
}

.rotabilgisistemi .rotaservice-link:hover .rotaservice-item {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: #444444;
}

.rotabilgisistemi .rotaservice-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.2;
}

.rotabilgisistemi .rotaheader-icon {
  margin-right: 1.25rem;
  width: 28px;
  height: 28px;
}
.lucide {
  width: 35px;
  height: 35px;
}
/*rota bilgi sistemi*/

#main {
  scroll-margin-top: 50px;
}
#duyuru-haberler
{
 scroll-margin-top: 100px;
}
.main {
  padding-top: 100px;
  margin: 0;
  width: 100%;
}

#baslangic {
  scroll-margin-top: 250px;
  /* menü yüksekliği kadar */
  padding-top: 50px;
  /* margin-top: 50px;*/
}

/*Rota Menu User Panel*/
.user-panel {
  width: 260px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 14px;
}
.user-panel img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.user-item {
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
}
.user-item:hover {
  background: #f1f3f9;
}

/*Rota Menu User Panel*/

/*Organizasyon Şeması*/
.orgchart {
  background: #000;
}
.orgchart .node rect {
  rx: 14;
  ry: 14;
  fill: #f8f9fa;
  stroke: #1e3a8a;
  stroke-width: 2;
}

.orgchart .field_0 {
  font-weight:700;
  font-size:14px;
  fill:#0f172a;
}

.orgchart .field_1 {
  font-size:13px;
  fill:#1e40af;
}
@media(max-width:768px){
  #chart { height: 85vh; }
  .orgchart .field_0 { font-size:12px; }
  .orgchart .field_1 { font-size:11px; }
}
/*Organizasyon Şeması*/
/*HIZLI MENU*/
.quick-menu {
  position: fixed;
  right: -80px; 
  bottom: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
  transition: right 0.5s ease;
}

/* Menü geldiğinde */
.quick-menu.show {
  right: 16px;
}

.quick-menu a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  color: #b50000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: all .2s ease;
}

.quick-menu a:hover {
  background: #525252;
  color: #fff;
  transform: translateX(-5px);
}


/* Yumuşak scroll */
html {
  scroll-behavior: smooth;
}

/* Mobil */
@media (max-width: 768px) {
  #quickMenu {
    width: 100%;
    right: -100%;
    top: auto;
    bottom: 0;
    border-radius: 18px 18px 0 0;
  }
}
/*HIZLI MENU*/

/* AVESIS Kartları */
.avesis-card {
  transition: all 0.3s ease;
}

.avesis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.avesis-card .btn:hover {
  opacity: 0.9;
  transform: translateX(3px);
  transition: all 0.3s ease;
}

#akademik {
  background-color: #f8f9fa;
}

/* Mini Box Card Styling */
.mini-box {
    min-height: 110px;
    height: 100%;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 12px;
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    border-radius: 12px;
    padding: 12px 30px;
    transition: 0.25s;
    background: rgb(255, 255, 255);
    overflow: visible;
    border-color: var(--accent-color);
}

.mini-box p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  max-height: 2.8em;
  line-height: 1.4em;
}

.mini-box h6 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}
.event-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* ETKİNLİKLER */

/* =========================
   EVENT CARD – GENEL
========================= */

.event-card-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  display: block;
}

.event-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

/* =========================
   GÖRSEL ALAN (KARE)
========================= */

.event-image-wrapper {
  width: 100%;
  background: #f1f1f1;
  overflow: hidden;
}

.event-image-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

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

/* =========================
   ALT BİLGİ ALANI
========================= */

.event-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-info-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 8px;
  align-items: start;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.3;
  word-break: break-word;
}

.event-info-item i {
  color: #0d6efd;
  font-size: 0.9rem;
  margin-top: 2px;
}

.event-info-item span {
  display: block;
}

/* Uzun yer isimleri */
.event-info-item.location span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .event-card {
    border-radius: 12px;
  }

  .event-body {
    padding: 12px;
  }

  .event-info-item {
    font-size: 0.7rem;
    column-gap: 6px;
  }
}

@media (max-width: 480px) {
  .event-info-item {
    font-size: 0.6rem;
  }
}

/* ETKİNLİKLER */

/* Portfolio Card Responsive Sizing */
.portfolio-item {
  display: flex;
  height: 250px;
  flex-direction: column;
}

.portfolio-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-content img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.portfolio-info {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: #f8f9fa;
}

.portfolio-info h4 {
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-item {
    height: 320px;
  }
  
  .portfolio-content img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .portfolio-item {
    height: 280px;
  }
  
  .portfolio-content img {
    height: 180px;
  }
  
  .portfolio-info h4 {
    font-size: 0.9rem;
  }
}

/*HIZLI MENU*/

/*TOP MENÜ*/
#header {
  top: 30px;
}
.top-icon-bar {
  height: 38px;
  width: 100%;
  /* background: rgba(255, 255, 255, 0.2); */
  background: rgba(0, 0, 0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1001;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.top-icon-bar a {
  color: #ffffff;
  transition: all 0.25s ease;
  opacity: 0.75;
  font-size: small;
}

.top-icon-bar a:hover {
  color: #adadad;
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
}

/*TOP MENÜ*/

/*OVERRIDE CUSTOM MOBILE CSS*/

/* Adjusted rota Lucide icon sizes to half of the previously enlarged values */
.rotabilgisistemi .rotaicon-circle {
  width: 64px !important;
  height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
}

.rotabilgisistemi .rotaicon-circle i,
.rotabilgisistemi .rotaicon-circle svg,
.rotabilgisistemi [data-lucide] {
  width: 48px !important;
  height: 48px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.rotabilgisistemi .rotaicon-circle i { font-size: 48px !important; line-height: 1 !important; }
.rotabilgisistemi .rotaicon-circle svg { stroke-width: 1 !important; }

@media (max-width: 768px) {
  .rotabilgisistemi .rotaicon-circle { width: 48px !important; height: 48px !important; }
  .rotabilgisistemi .rotaicon-circle svg,
  .rotabilgisistemi .rotaicon-circle i { width: 36px !important; height: 36px !important; font-size: 36px !important; }
}

/* Academic carousel  */
.academic-carousel .carousel-item {
  height: 600px;
}
.academic-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.academic-carousel .carousel-item a {
  height: 100%;
}

@media (min-width: 992px) {
  .academic-carousel .carousel-item {
    height: 420px;
  }
}

@media (max-width: 576px) {
  .academic-carousel .carousel-item {
    height: 220px;
  }
}
/* Limit title to single line with ellipsis */
.one-line-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* Make carousel caption span full width horizontally */
.academic-carousel .carousel-caption.academic-caption-full {
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Slightly increase padding on small screens so text has breathing room */
@media (max-width: 576px) {
  .academic-carousel .carousel-caption.academic-caption-full {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
:root {
  /* Base */
  --fs-base: clamp(15px, 1.05vw, 17px);
  --fs-small: clamp(13px, 0.95vw, 14.5px);


/* Top icon bar: hide text labels on small screens but keep icons visible */
@media (max-width: 576px) {
  .top-icon-text {
    display: none !important;
  }
  .top-icon-bar .container-fluid a i {
    font-size: 14px; /* ensure icons remain readable */
  }
}
  /* Headings scale */
  --fs-h1: clamp(30px, 4vw, 46px);
  --fs-h2: clamp(18px, 3vw, 20px);
  --fs-h3: clamp(20px, 2.4vw, 28px);
  --fs-h4: clamp(18px, 2vw, 22px);
  --fs-h5: clamp(16px, 1.6vw, 18px);
  --fs-h6: clamp(14px, 1.2vw, 16px);

  /* Line heights */
  --lh-text: 1.7;
  --lh-title: 1.25;
}

/* Body */
body {
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paragraph & lists */
p, li {
  font-size: var(--fs-base);
  line-height: var(--lh-text);
}

small, .text-small {
  font-size: var(--fs-small);
}

/* Headings */
h1 { font-size: var(--fs-h1); line-height: var(--lh-title); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-title); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-title); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-title); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-title); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-title); }

/* Section titles */
.section-title h2 {
  font-size: var(--fs-h2);
  letter-spacing: 0.3px;
}

/* Hero */
.hero h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
}

.hero p {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}

/* CMS content */
.cms-content p {
  font-size: var(--fs-base);
  line-height: 1.8;
}

.cms-content h2 { font-size: var(--fs-h2); }
.cms-content h3 { font-size: var(--fs-h3); }
.cms-content h4 { font-size: var(--fs-h4); }

/* Cards, boxes, mini texts */
.mini-box h6 {
  font-size: clamp(14px, 1.1vw, 15.5px);
}

.mini-box p {
  font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.55;
}

.footer,
.footer p,
.footer a {
  font-size: var(--fs-small);
}

/* Forms */
input, textarea, button {
  font-size: var(--fs-base);
}
/* ===============================
   1366x768 NAVBAR FIX
================================ */
@media (max-width: 1400px) and (min-width: 1200px) {

  /* Header biraz daha incelsin */
  .header {
    padding: 8px 0;
  }

  .header .header-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Logo KÜÇÜLSÜN */
  .header .logo img {
    max-height: 90px;   /* 🔥 150px çok büyüktü */
    margin-top: 0;
  }

  /* Menü yazıları daralsın */
  .navmenu a,
  .navmenu a:focus {
    font-size: 11px;
    padding: 10px 15px;
    letter-spacing: 0.2px;
  }

  /* Menü logo alanına girmesin */
  .navmenu ul {
    flex-wrap: nowrap;
    font-size: smaller;
  }

  /* Header içi hizalama netleşsin */
  .header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  /* Logo alanı sabitlensin */
  .header .logo {
    position: relative;   /* 🔥 absolute yerine relative */
    padding: 0 0px;
    flex-shrink: 0;
  }

}

/*OVERRIDE CUSTOM MOBILE CSS*/

/* Akreditasyon Logo */
.akreditasyon-logo-fixed {
    position: fixed;
    top: 120px;
    left: 50px;
    z-index: 9999;
    width: 100px;
    height: auto;
    transition: opacity 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .akreditasyon-logo-fixed {
        top: 120px;
        left: 10px;
        width: 50px;
    }
}

/* Yayın Stilleri */
.publication-item {
    padding: 20px 25px;
    border: none;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-item:hover {
    background-color: #f8f9fa;
}

.publication-content {
    flex: 1;
}

.publication-authors {
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    font-size: 0.8125rem;
    color: #718096;
}

.meta-item {
    display: inline-flex;
    align-items: center;
}

.meta-item i {
    color: #a0aec0;
}

/* Avesis Publication List - Simplified for card view */
.avesis-publication-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.avesis-publication-list::-webkit-scrollbar {
    width: 6px;
}

.avesis-publication-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.avesis-publication-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.avesis-publication-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.avesis-publication-list .publication-item {
    padding: 15px;
    border-left: 3px solid #00519c;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.avesis-publication-list .publication-item:hover {
    background: #e9ecef;
    border-left-color: #0066b3;
    transform: translateX(3px);
}

.avesis-publication-list .publication-authors {
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.avesis-publication-list .publication-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.75rem;
    color: #718096;
}

.avesis-publication-list .meta-item i {
    color: #a0aec0;
}

/* Academic Card Styles */
.avesis-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avesis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.academic-carousel .carousel-item {
    height: 400px;
    overflow: hidden;
}

.academic-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
}

.academic-caption-full {
    border-radius: 4px;
}

.one-line-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

@media (max-width: 768px) {
    .avesis-publication-list {
        max-height: 300px;
    }
    
    .academic-carousel .carousel-item {
        height: 250px;
    }
}

/* App store buttons - footer */
.app-buttons {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.app-btn {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  background: var(--surface-color);
  color: var(--default-color);
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.app-btn .app-text small { display:block; font-size: 10px; opacity: .85; line-height:1; }
.app-btn .app-text strong { display:block; font-size: 14px; }
.app-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.app-btn.apple { background: #000; color: #fff; }
.app-btn.google { background: linear-gradient(180deg,#34A853,#0F9D58); color: #fff; }
.app-btn.huawei { background: #ffffff; border: 1px solid #ececec; color: var(--default-color); }
.huawei-icon { width: 28px; height: auto; display: inline-block; }

@media (max-width: 576px) {
  .app-btn { flex: 1 1 100%; justify-content: center; }
  .app-btn .app-text { text-align: left; }
}

/* Hide specific elements on mobile when marked */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}
