:root {
  --primary-color: #5dc3b9;
  /* Teal */
  --secondary-color: #5d7c89;
  /* Slate Blue */
  --bg-light: #f4f6f7;
  --text-dark: #333;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--secondary-color);
  font-weight: 600;
}

.text-primary-custom {
  color: var(--primary-color);
}

.text-secondary-custom {
  color: var(--secondary-color);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #4eb0a7;
  color: #fff;
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-secondary-custom:hover {
  background-color: #4b646f;
  color: #fff;
}

.btn-outline-primary-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 8px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Topbar */
.topbar {
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 300;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar a:hover {
  color: var(--primary-color);
}

.topbar .divider {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
}

.topbar-contact i {
  margin-right: 5px;
  color: var(--primary-color);
}

.topbar-social a {
  display: inline-flex;
  margin-left: 12px;
}

.topbar-social a:hover {
  transform: translateY(-2px);
}

.topbar-lang {
  font-weight: 500;
}

.topbar-lang a {
  opacity: 0.7;
}

.topbar-lang a.active,
.topbar-lang a:hover {
  opacity: 1;
  color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
  padding: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1030;
}

.navbar-brand {
  position: relative;
  z-index: 1040;
  display: flex;
  align-items: center;
  height: 80px;
}

.main-logo {
  height: 90px;
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 1050;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar .dropdown-menu {
  margin-top: 0;
  border-radius: 0 0 8px 8px;
  border-top: 3px solid var(--primary-color) !important;
}

.navbar .dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
  background-color: rgba(93, 195, 185, 0.1);
  color: var(--primary-color);
  padding-left: 25px;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Header (Inner Pages) */
.page-header {
  position: relative;
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0 80px;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.7);
  /* Dark overlay */
}

.page-title {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-subtitle {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* Inner Page Content Layout */
.content-section {
  padding: 80px 0;
  background-color: #fff;
}

/* Custom Pills (Hastalıklar Tabs) */
.custom-pills .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: left;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.custom-pills .nav-link:hover {
  background-color: rgba(93, 195, 185, 0.1);
  color: var(--primary-color) !important;
}

.custom-pills .nav-link.active {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(93, 195, 185, 0.3);
}

/* Hero Section */
.heroSwiper {
  position: relative;
  border-bottom: 8px solid #8d9ba4;
}

/* Hero Overlay */
.heroSwiper .swiper-slide img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.85) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: right;
  padding-right: 30px;
}

.hero-content h4 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: 400;
  margin-bottom: 5px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 5px;
}

.hero-content h2 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  font-weight: 300;
  margin-bottom: 30px;
}

.custom-btn-light {
  background-color: #fff;
  color: #8d9ba4;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.custom-btn-light:hover {
  background-color: #f8f9fa;
  color: var(--secondary-color);
}

/* Swiper Pagination Customization */
.heroSwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #c9d6dc;
  opacity: 1;
  margin: 0 5px !important;
}

.heroSwiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.heroSwiper .swiper-pagination {
  bottom: 20px !important;
}

/* Form Section */
.form-section {
  padding: 60px 0;
  background-color: #fff;
}

.form-container {
  background-color: #e9ecef;
  padding: 40px;
  border-radius: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: 1.8rem;
}

.form-control {
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.form-note {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

/* About Section */
.about-section {
  background-color: #d8e0e5;
  padding: 0px 0;
  overflow: hidden;
}

.about-dark-bg {
  background-color: var(--secondary-color);
  top: 15%;
  bottom: 15%;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
}

.about-text-content {
  padding: 40px 0;
}

.border-bottom-custom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 2.2rem;
}

.subtitle-custom {
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.about-text-content p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 95%;
}

/* Treatments Section */
.treatments-section {
  padding: 100px 0;
  background-color: #fff;
  text-align: center;
  overflow: hidden;
}

.treatments-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 60px;
  letter-spacing: 1px;
}

.treatmentsSwiper {
  width: 100%;
  padding: 40px 0;
}

.treatment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.treatment-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.treatment-img-wrapper img {
  width: 75%;
  height: 75%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatmentsSwiper .swiper-slide-active .treatment-img-wrapper img {
  width: 100%;
  height: 100%;
}

.treatment-title a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  line-height: 1.4;
  text-decoration: none;
}

/* Blog Section */
.blog-section {
  padding: 100px 0;
  background-color: #f1f4f6;
}

.blog-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.blog-subtitle {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: #666;
  margin-bottom: 50px;
  line-height: 1.6;
}

.blog-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-img-wrapper {
  background: #fff;
  padding: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(93, 195, 185, 0.25);
}

.blog-img-wrapper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.blog-card-title a {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 15px;
  text-decoration: none;
}

.blog-card-text {
  font-size: 0.75rem;
  color: #444;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card .btn {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  min-width: 120px;
  align-self: flex-start;
}

/* Banner Section */
.banner-section {
  background: url('../images/bg-attachment.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 350px;
  position: relative;
  text-align: center;
}

.banner-text-box {
  background-color: rgba(36, 60, 75, 0.85);
  padding: 30px 60px;
}

.banner-text-box h2 {
  color: #ffffff;
  margin: 0;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Video Section */
.video-section {
  padding: 100px 0;
  background-color: #fff;
}

.video-section-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.videosSwiper {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  cursor: pointer;
}

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

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

.video-thumbnail:hover .play-btn {
  background: var(--primary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
  float: left;
  padding-right: var(--bs-breadcrumb-item-padding-x);
  color: rgb(255 255 255 / 75%);
  content: var(--bs-breadcrumb-divider, "/");
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid white;
  margin-left: 6px;
}

.video-title {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
  margin: 0;
}

.video-pagination {
  bottom: 0 !important;
}

.video-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d4d4d4;
  opacity: 1;
  margin: 0 8px !important;
}

.video-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: #fff;
}

.footer-logo {
  height: 60px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact div {
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.9;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .about-content {
    padding: 50px 40px;
  }

  .main-logo {
    position: relative;
    height: 60px;
    top: 0;
  }

  .navbar-brand {
    min-width: 0 !important;
  }

  .topbar .divider {
    display: none;
  }

  .topbar-contact a {
    display: inline-block;
    margin: 5px 10px;
  }

  .topbar-right {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .about-dark-bg {
    top: 5%;
    bottom: 5%;
  }

  .about-text-content {
    padding: 40px 20px;
  }

  .hero-content h4 {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.25rem;
  }

  .hero-content {
    text-align: center;
    margin-top: 50px;
  }

  .mobile-center-text,
  .mobile-center-text * {
    text-align: center !important;
  }

  .hero-content .d-flex {
    align-items: center !important;
  }

  .hero-section::before {
    background: rgba(255, 255, 255, 0.75);
  }

  .form-container {
    padding: 30px 20px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-header {
    padding: 80px 0 50px !important;
  }

  .custom-pills .nav-link {
    text-align: center;
  }
}

/* Custom Contact Card Style */
.custom-contact-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  margin-bottom: 40px;
}

.custom-contact-card {
  background-color: #B9AD96;
  /* Tan/Beige matching the image */
  border-radius: 12px;
  padding: 40px 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.custom-contact-card h3 {
  color: #3C3C3B;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.custom-contact-card p {
  color: #4A4A4A;
  font-size: 0.95rem;
  font-weight: 500;
}

.custom-contact-card label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4A4A4A;
  margin-bottom: 8px;
}

.custom-contact-card .form-control,
.custom-contact-card .form-select {
  border-radius: 6px;
  border: none;
  padding: 12px 15px;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.custom-contact-card .btn-submit {
  background-color: #D19D92;
  /* Muted Salmon */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-weight: 800;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.custom-contact-card .btn-submit:hover {
  background-color: #BC877B;
  transform: translateY(-2px);
}

.custom-contact-card .form-check-label {
  font-size: 0.65rem;
  color: #F8F9FA;
  line-height: 1.3;
}

.custom-contact-card .form-check-label a {
  color: #fff;
  text-decoration: underline;
}

/* Specific adjustment for the dark curved aesthetic */
.contact-bg-dark {
  background-color: #555555;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding-top: 120px;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .custom-contact-card {
    padding: 30px 20px;
  }
}


.loadingspin {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 255 255 / 80%);
  display: none;
  z-index: 10
}

.loadingspin img {
  width: 10% !important;
  margin: auto !important
}

.loadingspin.in {
  display: flex
}


.customrow-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}


.customrow-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


.customrow-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}


.customrow-4 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}


.customrow-5 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}


.customrow-6 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}


.customrow-7 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}


.customrow-8 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}


.customrow-9 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
}


.customrow-10 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
}