* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.baslik{
      padding-top: 50px;
    padding-bottom: 50px;
    background-color: #dd2a1b;
    background-size: cover;
    background-position: 0 0px;
    position: relative;
    background-repeat: no-repeat;
    color:white !important;
}

.bizi_arayin{
    width: 1000px;
    max-width: 90%;
    margin: auto;
    padding: 25px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid #e9edf7;
    position: relative;
    top: -120px;
    z-index: 1;
}

.bizi_arayin.inpage{
    top: 0px;
    margin: 30px auto 0px;
    max-width: 100%;
    width: 100%;
}

.bizi_arayin label{
  width: 100%;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.clinic-sidebar .list-group-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
}

.clinic-sidebar .list-group-item:hover {
  background-color: #e6f0ff;
}


.topbar {
  background: #0f1626;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
  font-size: 14px;
}

.topbar .icon {
  width: 18px;
  margin-right: 6px;
}


.navbar {
  background: white;
  padding: 10px 15px;
  position: relative;
  border-bottom: 2px solid #c000c0;
  flex-direction: column;
  display: flex;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  color: #d00000;
  font-size: 13px;
  line-height: 1.2;
}

.menu-icon {
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 25px;
}

#menu-toggle {
  display: none;
}

.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  padding: 12px 10px;
  border-top: 1px solid #eee;
  font-weight: bold;
  font-size: 14px;
}

.appointment-btn {
  background-color: #c40000;
  color: white !important;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  margin: 20px 10px;
  display: block;
}
  
  .carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    height: auto;
    display: none;
  }
  
  .slide.active {
    display: block;
  }
  
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  .form-box {
    width: 1000px;
    max-width: 90%;
    margin: auto;
    padding: 25px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid #e9edf7;
    position: relative;
    top: -70px;
    z-index: 1;
  }
  
  .form-box h3 {
    font-size: 16px;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .form-box input,
  .form-box select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  .form-box .phone-input {
    display: flex;
    gap: 10px;
  }
  
  .form-box .phone-input input {
    flex: 1;
  }
  
  .form-box ul {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .form-box ul li::before {
    content: "✓ ";
    color: green;
    margin-right: 5px;
  }
  
  .offer-btn {
    background: #d40000;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
  }

  /* === Branches Section === */
.branches {
  padding: 60px 20px;
  background: #f9fbfd;
  text-align: center;
}

.branches .container {
  max-width: 1200px;
  margin: 0 auto;
}

.branches h2 {
  color: #555;
  font-size: 20px;
  margin-bottom: 10px;
}

.branches h3 {
  font-size: 28px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: left;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #111;
}

.card-content p {
  font-size: 14px;
  color: #555;
}


.features-section {
  background: #082b60;
  color: white;
  padding: 60px 20px;
  overflow: hidden;
}

.features-section h2 {
  color: #a0c4ff;
  font-size: 20px;
  margin-bottom: 5px;
}

.features-section h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: white;
}

.features-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  padding-bottom: 10px;
  scrollbar-width: none; /* Firefox */
}
.features-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.features-track:active {
  cursor: grabbing;
}

.feature-card {
  flex: 0 0 300px;
  background: white;
  color: #0c2c5e;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  user-select: none;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #333;
}


.about-izmir {
     background: #082b60;
    padding: 60px 20px;
    color: white;
    height: 334px;
    margin-bottom: 250px;
}

.about-izmir .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-izmir h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: white;
}

.izmir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.izmir-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  color: #333;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding-bottom: 20px;
}

.image-box {
  position: relative;
}

.image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.caption {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 14px;
  color: #0c2c5e;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.izmir-card p {
  padding: 30px 20px 0;
  font-size: 14px;
  line-height: 1.5;
}



.testimonial-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.testimonial-card {
  max-width: 300px;
  height: 220px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
  margin-bottom:10px;
}

.flag {
  width: 40px !important;
  height: auto;
  margin-bottom: 10px;
}

.country {
  color: gray;
  margin-top: -10px;
  margin-bottom: 10px;
}

.about-section {
  padding: 60px 20px;
  background-color: #f8f9fc;
  font-family: 'Segoe UI', sans-serif;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h4 {
  color: #555;
  font-size: 16px;
  margin-bottom: 8px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

.about-text p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.about-text ul {
  list-style: disc;
  padding-left: 20px;
  color: #333;
}

.about-text ul li {
  margin-bottom: 10px;
}

.about-image-single {
  flex: 1 1 400px;
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.play-button img {
  width: 60px;
  height: 60px;
  opacity: 0.9;
  transition: transform 0.3s;
}

.play-button img:hover {
  transform: scale(1.1);
}

.footer {
  width: 100% !important;
  background-color: #0e1b3d;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 50px 20px 80px;
}

.footer-top {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 130px;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-socials a {
  background-color: #1e2a4c;
  padding: 10px;
  margin-right: 10px;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  display: inline-block;
}

.footer-center h4,
.footer-right h4 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #c3142d;
  padding-bottom: 5px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
  font-size: 14px;
}

.footer-right p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ddd;
}

.footer-right a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

.footer-bottom {
  background-color: #08122d;
  text-align: center;
  padding: 15px 10px;
  position: relative;
  font-size: 13px;
  color: #ccc;
}

.appointment-btn {
  position: absolute;
  right: 20px;
  bottom: 15px;
  background: #c3142d;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.whatsapp-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #0e1b3d;
  padding: 10px 20px;
}

.whatsapp-text {
  color: white;
  font-size: 16px;
}

.whatsapp-text i {
  color: #25D366; /* WhatsApp yeşili */
  margin-right: 8px;
}

.clinic-number {
  font-size: 20px;
  font-weight: 600;
  color: #d3d3d3;
}

.clinic-card p {
  font-size: 14px;
}


.clinic-card-blog{
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

  

#menu-toggle:checked + .menu-icon + .nav-links {
  display: flex;
}

@media (max-width: 768px) {
.about-izmir{
  display: none;
}
    .card-grid,
  .izmir-grid {
    flex-direction: column;
  }

  .card,
  .izmir-card {
    width: 100% !important;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }

  .footer-links {
    flex-direction: column;
  }

  .appointment-btn {
    position: static;
    display: block;
    margin: 20px auto 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    padding-bottom: 70px;
  }

  .appointment-btn {
    position: static;
    display: block;
    margin: 15px auto 0;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image-single {
    flex: 1 1 100%;
  }

  .testimonial-card {
    min-width: 80%;
  }
  .prev, .next {
    font-size: 18px;
    padding: 6px;
  }

  .opinion-card {
    flex: 0 0 85%;
  }

  .feature-card {
    flex: 0 0 85%;
  }

  .form-box {
    top:20px;
    width: 100% ;
  }
}
@media(min-width: 769px) {
  .about-izmir-mobil{
    display: none;
  }
  .menu-icon {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 0;
  }

  .appointment-btn {
    margin: 0;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
