
  
.search-input,
.search-select,
.search-button {
    height: 50px; /* Yükseklik eşitleme */
}

.search-input {
    border: none;
    padding: 10px 15px;
    flex: 1;
    font-size: 16px;
    outline: none;
    color: #333;
    min-width: 200px;
}

.search-select {
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    min-width: 120px;
}

.search-button {
    background: #1abc9c;
    border: none;
    padding: 0 20px; /* Yatay boşluk */
    cursor: pointer;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button i {
    font-size: 18px;
}

/* Hover Efektleri */
.search-button:hover {
    background: #16a085;
}

.search-select:hover,
.search-input:hover {
    background-color: rgba(255, 255, 255, 0.8);
}


.search-alani {
  position: absolute;
  left: 55%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  margin-top: -30px;
  z-index: 98;
}
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px;
    flex-wrap: wrap; /* Mobil uyum için */
}
@media (max-width: 768px) {
  .search-container {
  display: flex;
  justify-content: center;  
  align-items: center;     
}
.search-alani {
  width: 80%;
  max-width: 400px;
  z-index: 98;
}

  .search-container {
    flex-direction: column;
    padding: 8px;
    max-width: 400px; 
    border-radius: 10px;
  }

  .search-input,
  .search-select,
  .search-button {
    border-radius: 10px;
    width: 100%; 
    font-size: 14px; /* Küçük font boyutu */
    padding: 8px; /* Daha küçük padding */
    margin-bottom: 8px; /* Daha küçük aralık */
  }

  .search-button {
    margin-bottom: 0;
    font-size: 14px;
  }
}


/* Genel ayarlar */
.background-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.icon {
  position: absolute;
  opacity: 0.2;
  transform-origin: center;
}

/* Her bir ikonun konumu */
.icon-beher {
  width: 80px;
  top: 20%;
  left: 10%;
  animation: float 8s infinite ease-in-out, rotate-slow 12s infinite linear;
}

.icon-dna {
  width: 100px;
  top: 40%;
  right: 15%;
  animation: float-diagonal 10s infinite ease-in-out, rotate-fast 8s infinite linear;
}

.icon-microscope {
  width: 90px;
  bottom: 10%;
  right: 25%;
  animation: float 6s infinite ease-in-out, rotate-reverse 15s infinite linear;
}

.icon-molecules {
  width: 120px;
  bottom: 20%;
  left: 15%;
  animation: pulse 7s infinite ease-in-out, float-diagonal-reverse 9s infinite ease-in-out;
}

.icon-test-tube {
  width: 70px;
  top: 30%;
  left: 50%;
  animation: rotate-slow 18s infinite linear, float 5s infinite ease-in-out;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Çapraz hareket (sağ üst - sol alt) */
@keyframes float-diagonal {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(15px, -15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Çapraz hareket (sol üst - sağ alt) */
@keyframes float-diagonal-reverse {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-15px, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Döndürme (yavaş) */
@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Döndürme (hızlı) */
@keyframes rotate-fast {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

/* Ters döndürme (yavaş) */
@keyframes rotate-reverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/* Hafifçe büyüme-küçülme */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Animasyon */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Dark Mode Varsayılan Ayarlar */
:root {
  --beher-icon: url('/images/icons/white-beher.png');
  --dna-icon: url('/images/icons/white-dna.png');
  --microscope-icon: url('/images/icons/white-microscope.png');
  --molecules-icon: url('/images/icons/white-molecules.png');
  --test-tube-icon: url('/images/icons/white-test-tube.png');
}

body.dark {
  --beher-icon: url('/images/icons/dark-beher.png');
  --dna-icon: url('/images/icons/dark-dna.png');
  --microscope-icon: url('/images/icons/dark-microscope.png');
  --molecules-icon: url('/images/icons/dark-molecules.png');
  --test-tube-icon: url('/images/icons/dark-testtube.png');
}

/* CSS'te Dark Mode İkonları Dinamik Değiştir */
.icon-beher {
  content: var(--beher-icon);
  background-image: var(--beher-icon);
}

.icon-dna {
  content: var(--dna-icon);
  background-image: var(--dna-icon);
}

.icon-microscope {
  content: var(--microscope-icon);
  background-image: var(--microscope-icon);
}

.icon-molecules {
  content: var(--molecules-icon);
  background-image: var(--molecules-icon);
}

.icon-test-tube {
  content: var(--test-tube-icon);
  background-image: var(--test-tube-icon);
}



.iframe1 {
            width: 100%; 
            height: 80vh; 
            border: none;
            margin-top: -20px;
        }




.swiper-container {
  height: 30%;
}

.news-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-title a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.news-title a:hover {
  color: #007bff;
}

.news-summary {
  font-size: 14px;
  color: #666;
}




.slider {
  margin-top: -50px;
  width: 100%;
  height: 90vh;
  position: relative;
}

.swiper-slide {
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 50%;
  padding: 20px;
}
.news-container {
  display: flex;
  flex-direction: column; 
}

.news-section-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 0; /* Manuel margin değerini kaldır */
}



@media (max-width: 768px) {
  .news-section-title {
  }
}

@media (max-width: 480px) {
  .news-section-title {
  }
}

.news-card {
  margin-bottom: 20px; /* Kartların arası için standart boşluk */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  max-width: 600px;
  padding-left: 50px;
}

.slider h2 {
  font-size: 6rem;
  color: #fff;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slider p {
  font-size: 3rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
  transition-delay: 0.2s;
}

.slide-btn {
  padding: 12px 25px;
  font-size: 1.2rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  transition-delay: 0.4s;
}

.slide-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.swiper-slide-active .animate-title {
  opacity: 1;
  transform: translateX(0);
}

.swiper-slide-active .animate-desc {
  opacity: 1;
  transform: translateX(0);
}

.swiper-slide-active .animate-btn {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .slider {
    height: 70vh; 
  }

  .slide-content {
    padding-left: 20px; 
    max-width: 100%;
    text-align: center; 
  }

  h2 {
    font-size: 3rem; 
  }

  p {
    font-size: 1.8rem; 
  }

  .slide-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 60vh; 
  }

  h2 {
    font-size: 2.5rem; 
  }

  p {
    font-size: 1.5rem; 
  }

  .slide-btn {
    font-size: 0.9rem; 
    padding: 8px 15px; 
  }
}



  body, html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .container {
    width: 100%;
    margin: 0 !important;
    padding: 10 !important;
}
 #section1 {
  margin-top: 80px;
 }
  .section {
    padding: 80px 0;
    width: 100%;
    max-width: 100vw;
  }
 
  .section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    position: relative;
}

   .section-title.text-white {
    color: white; 
}

   .section-title:not(.text-white) {
    color: #2c3e50;
}

  .center {
    text-align: center;
  }
  .section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #3498db;
  margin: 20px 0; 
}

@media (max-width: 768px) {
  .section-title:after {
    margin: 20px auto; 
  }
}
  .center:after {
    margin: 20px auto;
  }
 .flex-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
  }
 .flex-row.reverse {
    flex-direction: row-reverse; 
  }

  .flex-col {
    flex: 1;
  }

  .about-image,
  .service-image {
    width: 100%;
    max-width: 500px; 
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  .info-box {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  .factory-info {
  background: white; 
  padding: 80px 0; 
  border-radius: 10px; 
  width: 90vw;
  margin: 0 auto; 
  box-sizing: border-box; 
}

  .mb-30 {
    margin-bottom: -100px;
    z-index: 900;
  }
  .info-box:hover {
    transform: translateY(-5px);
  }
  .info-box i {
    font-size: 3em;
    color: #3498db;
    margin-bottom: 20px;
  }
  .info-box h3 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
  }
  .info-box p {
    color: #7f8c8d;
  }
  .service-content {
    padding: 0 15px;
  }
  .service-content h3 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 20px;
  }
  .service-list {
    list-style: none;
    margin-top: 15px;
  }
  .service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  .service-list i {
    color: #3498db;
    margin-right: 10px;
  }
  .button {
    display: inline-block;
    padding: 12px 30px;
    background: #2a47a0;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    max-width: 100vw;
  }

 
  .button:hover {
    background: #2980b9;
  }
.brand-slider {
  overflow: hidden;
  background: white;
  border-radius: 10px;
}

.brand-track {
  display: flex;
  align-items: center;
  animation: scroll 30s linear infinite;
}

.brand-item {
  flex: 0 0 200px;
  padding: 10px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  background: none; 
}

.brand-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.5s ease;
}

body:not(.dark-mode) .brand-item img {
  filter: grayscale(100%); 
}

body.dark-mode .brand-item img {
  filter: brightness(0) invert(1); 
}

body.dark-mode .brand-item:hover img {
  filter: none; 
}
body:not(.dark-mode) .brand-item:hover img {
  filter: grayscale(0%); 
}

.brand-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1); 
  transition: transform 0.3s ease; 
  filter: brightness(1) invert(0);
}

.brand-item:hover {
    transform: scale(1.1); 
}
.brand-slider:hover .brand-track {
    animation-play-state: paused;
}
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  @media (max-width: 768px) {
    .flex-row {
      flex-direction: column;
      text-align: center;
    }
    .flex-row.reverse {
      flex-direction: column;
    }

    .service-content {
      padding: 20px 0;
    }
    .service-list {
      display: inline-block;
      text-align: left;
    }
  }
  @media (max-width: 480px) {
    section {
      padding: 40px 0;
    }
    .grid-row {
      grid-template-columns: 1fr;
    }
    .brand-item {
      flex: 0 0 150px;
    }
  }
  .flex-row, .grid-row, .info-box, .about-image, .service-image {
    width: 100%;
    max-width: 100vw; 
  }
  .flex-col {
    flex: 1;
    max-width: 100vw;
  }

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.column {
  width: 100%; 
  padding: 0 1em 1em 1em;
  text-align: center;
}

.card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #2a47a0 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}



.icon-wrapper {
  background-color: #2a47a0;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}

.card:hover {
  background-position: 0 100%;
}

.card:hover .icon-wrapper {
  background-color: #ffffff;
  color: #2a47a0;
}

.card:hover h3 {
  color: #ffffff;
}

.card:hover p {
  color: #f0f0f0;
}

@media screen and (min-width: 992px) {
  .column {
    flex: 0 0 25%; 
    max-width: 25%; 
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .column {
    flex: 0 0 50%; 
    max-width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

body.dark-mode .card {
  background: linear-gradient(#242729 50%, #444444 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.12);
}

body.dark-mode .icon-wrapper {
  background-color: #555555;
  color: #ffffff;
}

body.dark-mode .card:hover {
  background-position: 0 100%;
}

body.dark-mode .card:hover .icon-wrapper {
  background-color: #ffffff;
  color: #555555;
}

body.dark-mode .card:hover h3 {
  color: #ffffff;
}

body.dark-mode .card:hover p {
  color: #dddddd;
}

.news-image, .img-responsive {
  width: 100%;
  height: 200px; /* veya tasarımınıza uygun yükseklik */
  object-fit: cover; /* veya contain */
}

@media (max-width: 600px) {
  .news-image, .img-responsive {
    height: 120px;
  }
}