/* Custom CSS for Emrah Yılmaz */

/* ===== Google Sans Flex Font ===== */
:root {
  --font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  
  /* Font Weights */
  --fw-thin: 100;
  --fw-extralight: 200;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;
}

/* Apply font globally */
html, body {
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-weight: var(--fw-regular);
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.heading-title,
.heading-subtitle {
  font-family: var(--font-family);
}

h1, .h1 {
  font-weight: var(--fw-bold);
}

h2, .h2 {
  font-weight: var(--fw-bold);
}

h3, .h3 {
  font-weight: var(--fw-semibold);
}

h4, .h4 {
  font-weight: var(--fw-semibold);
}

h5, .h5 {
  font-weight: var(--fw-medium);
}

h6, .h6 {
  font-weight: var(--fw-medium);
}

/* Paragraphs and body text */
p, span, a, li {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
}

/* Navigation */
.navbar,
.navbar-nav,
.nav-link {
  font-family: var(--font-family);
  font-weight: var(--fw-medium);
}

/* Buttons */
.dextheme-btn,
.btn,
button {
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
}

/* Form elements */
input,
textarea,
select {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
}

/* Footer */
.dextheme-footer {
  font-family: var(--font-family);
}

.dextheme-footer .footer-main {
  background-image: none !important;
  background-color: #f8f9fa;
}

.dextheme-footer .footer-main:before {
  display: none !important;
  content: none !important;
}

/* ===== Inner Page Styles ===== */

/* Page header background position */
.page-header.heading-wrapper {
  background-position: center top !important;
}

/* Page header breadcrumb positioning */
.heading-wrapper .title-breadcrumb {
  justify-content: flex-end;
  padding-bottom: 3rem;
}

/* Inner page navbar - solid background from start */
.navbar-inner {
  background-color: #fff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
}

.navbar-inner .navbar-nav .nav-link {
  color: #333 !important;
}

.navbar-inner .navbar-nav .nav-link:hover {
  color: #366d85 !important;
}

/* About page styles */
.about-me-split-card {
  gap: 2rem;
}

.about-me-split-card .profile-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-me-split-card .profile-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.about-me-split-card .profile-image .social-links {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 30px;
}

.about-me-split-card .profile-image .social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #366d85;
  transition: all 0.3s ease;
}

.about-me-split-card .profile-image .social-links a svg {
  width: 20px;
  height: 20px;
  fill: #366d85;
}

.about-me-split-card .profile-image .social-links a:hover svg {
  fill: #052b44;
}

.about-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555 !important;
}

.about-description p,
.about-description span,
.about-description div {
  color: #555 !important;
}

.about-description h1,
.about-description h2,
.about-description h3,
.about-description h4,
.about-description h5,
.about-description h6,
.about-description h1 *,
.about-description h2 *,
.about-description h3 *,
.about-description h4 *,
.about-description h5 *,
.about-description h6 * {
  color: #000 !important;
}

.therapist-quotes {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  position: relative;
}

.therapist-quotes .icon-quote2 {
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 40px;
  color: #366d85;
  opacity: 0.3;
}

.therapist-quotes h4 {
  font-style: italic;
  font-weight: 400;
}

.therapist-quotes .quote-author {
  font-weight: 600;
  color: #366d85;
  margin-top: 1rem;
}

/* Professional Background Section */
.professional-background h4 {
  font-size: 18px;
}

.specialization-lists {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specialization-lists .list-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.specialization-lists .list-item .svg-icon.circle-check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  margin-right: 12px;
  background-color: #366d85;
}

.specialization-lists .list-item .svg-icon.circle-check-icon:before {
  content: '✓';
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Background colors */
.bg-light-gray {
  background-color: #f8f9fa;
}

.footer-menu-list,
.footer-contact-us {
  font-weight: var(--fw-regular);
}

/* Cards and special elements */
.dextheme-service-card h4,
.image-box-content h4,
.blog-card-content h4 {
  font-weight: var(--fw-semibold);
}

.review-card .user-profile h5 {
  font-weight: var(--fw-semibold);
}

.review-card .user-comment p {
  font-weight: var(--fw-regular);
}

/* Quotes */
.quotes h4 {
  font-weight: var(--fw-medium);
  font-style: italic;
}

/* Counter/Stats */
.counter,
.wellbeing-counter h2 {
  font-weight: var(--fw-bold);
}

.wellbeing-counter h4 {
  font-weight: var(--fw-medium);
}

/* Methodology steps */
.methodology-steps .step-heading h3 {
  font-weight: var(--fw-bold);
}

.methodology-steps .step-text h4 {
  font-weight: var(--fw-semibold);
}

/* Utility classes for font weights */
.fw-thin { font-weight: var(--fw-thin) !important; }
.fw-extralight { font-weight: var(--fw-extralight) !important; }
.fw-light { font-weight: var(--fw-light) !important; }
.fw-regular { font-weight: var(--fw-regular) !important; }
.fw-medium { font-weight: var(--fw-medium) !important; }
.fw-semibold { font-weight: var(--fw-semibold) !important; }
.fw-bold { font-weight: var(--fw-bold) !important; }
.fw-extrabold { font-weight: var(--fw-extrabold) !important; }
.fw-black { font-weight: var(--fw-black) !important; }

/* ===== Sticky Transparent Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all 0.3s ease-in-out;
}

/* Transparent state (on hero/slider) */
.navbar.navbar-transparent {
  background: transparent !important;
}

.navbar.navbar-transparent .nav-link,
.navbar.navbar-transparent .navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar.navbar-transparent .nav-link:hover,
.navbar.navbar-transparent .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar.navbar-transparent .button-call .nav-link {
  color: #ffffff !important;
}

.navbar.navbar-transparent .button-call svg {
  fill: #ffffff;
}

.navbar.navbar-transparent .dextheme-btn.btn-primary {
  background: #ffffff;
  color: #052B44;
  border-color: #ffffff;
}

.navbar.navbar-transparent .dextheme-btn.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.navbar.navbar-transparent .dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
}

.navbar.navbar-transparent .dropdown-menu .dropdown-item {
  color: #052B44;
}

/* Logo switching */
.navbar .logo-dark {
  display: block;
}

.navbar .logo-white {
  display: none;
}

.navbar.navbar-transparent .logo-dark {
  display: none;
}

.navbar.navbar-transparent .logo-white {
  display: block;
}

/* Scrolled/Sticky state */
.navbar.navbar-scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-scrolled .nav-link {
  color: #052B44 !important;
}

.navbar.navbar-scrolled .logo-dark {
  display: block;
}

.navbar.navbar-scrolled .logo-white {
  display: none;
}

.navbar.navbar-scrolled .mobile-appointment-btn {
  color: #052B44 !important;
}

.navbar.navbar-scrolled .mobile-appointment-btn svg {
  fill: #052B44 !important;
}

/* Navbar toggler for transparent */
.navbar.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Body padding for fixed navbar */
body {
  padding-top: 0;
}

/* Hero section adjustment */
.hero-banner {
  margin-top: 0;
  background-size: cover !important;
  background-position: right center !important;
}

.hero-banner:before {
  display: none !important;
  content: none !important;
}

/* Hero Button - White Hover Effect */
.dextheme-btn.hover-white {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dextheme-btn.hover-white:hover {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background-color: transparent !important;
}

.dextheme-btn.hover-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.dextheme-btn.hover-white:hover::before {
  left: 100%;
}

/* Button Primary Color Override */
.btn-primary,
.dextheme-btn.btn-primary {
  --bs-btn-bg: #366d85;
  --bs-btn-border-color: #366d85;
  --bs-btn-hover-bg: #2d5a70;
  --bs-btn-hover-border-color: #2d5a70;
  --bs-btn-active-bg: #254a5c;
  --bs-btn-active-border-color: #254a5c;
  --bs-btn-disabled-bg: #366d85;
  --bs-btn-disabled-border-color: #366d85;
}

/* Header Phone Number Styling */
.navbar .button-call .nav-link {
  font-size: 1.25rem;
  font-weight: 400;
}

/* Main Menu Font Weight */
.navbar-nav .nav-link {
  font-weight: 400;
}

/* Transparent Navbar Button Style */
.navbar.navbar-transparent .dextheme-btn.btn-primary {
  background: #366d852e;
  color: #f8f9fa;
  border-color: #ffffff;
}

/* All Buttons - Rounded Corners */
.btn,
.dextheme-btn {
  border-radius: 6px;
}

/* Services Marquee - Overlapping Hero */
.services-marquee-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -112px; /* 25% lower than -150px */
  padding-bottom: 40px;
  overflow: hidden;
}

.services-marquee {
  width: 100%;
  overflow: hidden;
}

.services-marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee-scroll 15s linear infinite;
  width: max-content;
}

.services-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.services-marquee .dextheme-service-card {
  flex: 0 0 280px;
  min-width: 280px;
  background: #e1e9ed;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 2px dashed #366d85;
}

@media (max-width: 768px) {
  .services-marquee-wrapper {
    margin-top: -100px;
  }
  
  .services-marquee .dextheme-service-card {
    flex: 0 0 250px;
    min-width: 250px;
  }
}

/* Service Card Dashed Border Color */
.dextheme-service-card {
  border-color: #366d85 !important;
}

/* About Section Image */
.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  object-fit: cover;
}

@media (max-width: 991px) {
  .about-image {
    max-width: 100%;
  }
}

/* Add your custom styles here */

/* Wellbeing section - responsive */
.bg-with-image {
  width: 100%;
  overflow: hidden;
}
.bg-with-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .bg-with-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .dextheme-w-85.progress-body {
    width: 100% !important;
  }
  .d-flex.gap-5 {
    gap: 1.5rem !important;
  }
  .dextheme-w-35 {
    width: 45% !important;
  }
  .wellbeing-counter h2 {
    font-size: 1.6rem;
  }
  .wellbeing-counter h4 {
    font-size: 1rem;
  }
}

/* Mobile header fix - prevent horizontal scroll */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .navbar .dextheme-container,
  .navbar .dextheme-navbar {
    overflow: visible;
    max-width: 100%;
  }
  .navbar .logo-brand img {
    max-width: 120px;
    height: auto;
  }
  .navbar .dextheme-navbar {
    flex-wrap: nowrap;
  }
  .mobile-appointment-btn {
    flex-shrink: 0;
  }
  .navbar-toggler {
    flex-shrink: 0;
    margin-right: 0 !important;
    padding: 0.25rem 0.5rem;
  }
}

/* Methodology section - mobile center */
@media (max-width: 768px) {
  .methodology-section .methodology-steps {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }
  .methodology-section .each-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    margin-bottom: 20px;
    width: auto !important;
  }
  .methodology-section .step-heading {
    margin-bottom: 10px;
  }
  .methodology-section .step-text {
    text-align: center !important;
    padding: 0;
  }
  .methodology-section .step-text h4 {
    font-size: 1.2rem;
  }
  .methodology-section .step-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* What We Do Section - mobile center */
  .dextheme-section-padding .heading-section.home-heading {
    text-align: center;
  }
  .dextheme-section-padding .heading-section.home-heading .heading-subtitle,
  .dextheme-section-padding .heading-section.home-heading .heading-title,
  .dextheme-section-padding .heading-section.home-heading p {
    text-align: center;
  }
  .dextheme-section-padding .image-box-container {
    text-align: center;
  }
  .dextheme-section-padding .image-box-content {
    text-align: center;
  }
}

/* ===== Masonry Gallery Section ===== */
.about-gallery-section.dextheme-section-padding {
  padding-top: 0;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 15px;
  grid-auto-flow: dense;
}

/* Dikey (portrait) görseller 1 kolon, 3 satır kaplar */
.masonry-item.masonry-portrait {
  grid-column: span 1;
  grid-row: span 3;
}

/* Yatay (landscape) görseller 2 kolon, 2 satır kaplar */
.masonry-item.masonry-landscape {
  grid-column: span 2;
  grid-row: span 2;
}

/* Kare görseller 1 kolon, 2 satır kaplar */
.masonry-item.masonry-square {
  grid-column: span 1;
  grid-row: span 2;
}

.masonry-item {
  overflow: hidden;
}

.masonry-item .gallery-card {
  height: 100%;
  margin-bottom: 0;
}

.masonry-item .gallery-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Portrait görseller için object-position üste hizala */
.masonry-item.masonry-portrait .gallery-card img {
  object-position: top center;
}

/* Tablet */
@media (max-width: 991px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
    gap: 12px;
  }
  
  .masonry-item.masonry-portrait {
    grid-column: span 1;
    grid-row: span 3;
  }
  
  .masonry-item.masonry-landscape {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .masonry-item.masonry-square {
    grid-column: span 1;
    grid-row: span 2;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .masonry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }
  
  .masonry-item.masonry-portrait,
  .masonry-item.masonry-landscape,
  .masonry-item.masonry-square {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .masonry-item.masonry-portrait .gallery-card img {
    height: 400px;
  }
  
  .masonry-item.masonry-landscape .gallery-card img,
  .masonry-item.masonry-square .gallery-card img {
    height: 250px;
  }
}

/* ===== Gallery Card Styles ===== */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.gallery-card a {
  display: block;
  position: relative;
  height: 100%;
}

.gallery-card a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.gallery-card:hover a::after {
  background: rgba(0, 0, 0, 0.2);
}

.gallery-card a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M14 10l6.1-6.1M9 21H3v-6M10 14l-6.1 6.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}

.gallery-card:hover a::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ===== Disease Grid - Equal Height Cards ===== */
.disease-grid {
  display: flex;
  flex-wrap: wrap;
}

.disease-grid > [class*="dextheme-col-"] {
  display: flex;
}

.disease-grid .dextheme-service-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.disease-grid .dextheme-service-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.disease-grid .dextheme-service-card h4 {
  margin: 0;
}

/* ===== FAQ Section Styles ===== */
.faq-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-section.faq-fullwidth {
  padding: 0;
}

.faq-section.faq-fullwidth .dextheme-row {
  display: flex;
  flex-wrap: wrap;
}

.faq-section.faq-fullwidth .dextheme-col-lg-6:first-child {
  padding: 0;
}

.faq-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
}

.faq-fullwidth .faq-image-wrapper {
  border-radius: 0;
  box-shadow: none;
}

.faq-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.faq-image-wrapper:hover .faq-image {
  transform: scale(1.02);
}

.faq-content {
  padding: 60px 120px 60px 80px;
}

.faq-content .heading-subtitle {
  color: #366d85;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}

.faq-content .heading-title {
  color: #052b44;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.faq-content .faq-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* Accordion Styles */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 16px;
  color: #052b44;
  background-color: #fff;
  padding: 20px 25px;
  border: none;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: #366d85;
  color: #fff;
}

.faq-accordion .accordion-button::after {
  background-size: 16px;
  width: 16px;
  height: 16px;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
  padding: 20px 25px;
  background-color: #fff;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .faq-content .heading-title {
    font-size: 2rem;
  }
  
  .faq-image-wrapper {
    margin-bottom: 0;
    min-height: 350px;
  }
  
  .faq-content {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .faq-content .heading-title {
    font-size: 1.75rem;
  }
  
  .faq-content {
    padding: 30px 20px;
  }
  
  .faq-accordion .accordion-button {
    font-size: 15px;
    padding: 15px 20px;
  }
  
  .faq-accordion .accordion-body {
    padding: 15px 20px;
  }
}

/* ===== Deep TMS Page Styles ===== */

/* Page Background */
.deep-tms-page {
  background-color: #ffffff;
}

/* Hero Section */
.deep-tms-hero {
  min-height: 70vh;
  background-color: #052b44;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.deep-tms-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.deep-tms-hero .hero-subtitle {
  color: #8bb8c9;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.deep-tms-hero .hero-title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.deep-tms-hero .hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

.deep-tms-hero .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Features Section */
.deep-tms-features {
  background: #fff;
}

.feature-card {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  background: #fff;
  border-color: #366d85;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-card .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #366d85 0%, #052b44 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.feature-card .feature-icon i {
  font-size: 32px;
  color: #fff;
}

.feature-card h4 {
  color: #052b44;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Section Common Styles */
.deep-tms-what-is,
.deep-tms-how-works,
.deep-tms-for-whom {
  position: relative;
}

.section-subtitle {
  color: #366d85;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  color: #052b44;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.content-text {
  color: #555;
  line-height: 1.8;
}

.content-text p {
  margin-bottom: 15px;
}

.content-text ul,
.content-text ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.content-text li {
  margin-bottom: 10px;
}

.what-is-image img,
.how-works-image img,
.for-whom-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
}

/* Deep TMS FAQ Accordion */
.deep-tms-accordion .accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.deep-tms-accordion .accordion-button {
  font-weight: 600;
  font-size: 16px;
  color: #052b44;
  background-color: #fff;
  padding: 20px 25px;
  border: none;
  box-shadow: none !important;
}

.deep-tms-accordion .accordion-button:not(.collapsed) {
  background-color: #366d85;
  color: #fff;
}

.deep-tms-accordion .accordion-button::after {
  background-size: 16px;
  width: 16px;
  height: 16px;
}

.deep-tms-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.deep-tms-accordion .accordion-body {
  padding: 20px 25px;
  background-color: #fff;
  color: #555;
  line-height: 1.7;
}

/* CTA Section */
.deep-tms-cta {
  background: linear-gradient(135deg, #366d85 0%, #052b44 100%);
}

.deep-tms-cta .cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.deep-tms-cta .cta-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.deep-tms-cta .cta-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 991px) {
  .deep-tms-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .what-is-image,
  .how-works-image,
  .for-whom-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .deep-tms-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .deep-tms-hero .hero-title {
    font-size: 2rem;
  }
  
  .deep-tms-hero .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .deep-tms-cta .cta-title {
    font-size: 1.75rem;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
}

/* ===== Certificates Page Styles ===== */

.certificates-page {
  background-color: #ffffff;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  grid-auto-rows: 1fr;
}

.cv-cert {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  height: 100%;
  min-height: 140px;
}

.cv-cert:hover {
  border-color: #052b44;
  box-shadow: 0 4px 12px rgba(5, 43, 68, 0.1);
  transform: translateY(-2px);
}

.cv-cert-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #052b44 0%, #0a4a6e 100%);
  border-radius: 12px;
  color: #ffffff;
}

.cv-cert-badge svg {
  width: 24px;
  height: 24px;
}

.cv-cert-info {
  flex: 1;
  min-width: 0;
}

.cv-cert-info h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.cv-cert-issuer {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: #052b44;
  font-weight: 500;
}

.cv-cert-date {
  display: inline-block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.cv-cert-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: #f3f4f6;
  color: #052b44;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cv-cert-dl:hover {
  background-color: #052b44;
  color: #ffffff;
}

.cv-cert-dl svg {
  width: 14px;
  height: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .cv-cert {
    padding: 20px;
  }
  
  .cv-cert-badge {
    width: 42px;
    height: 42px;
  }
  
  .cv-cert-badge svg {
    width: 20px;
    height: 20px;
  }
  
  .cv-cert-info h4 {
    font-size: 1rem;
  }
}


/* ==================================================================
   Eski "gecici duzeltme" stilleri (2026-11-18'de buraya tasindi)
   ------------------------------------------------------------------
   Bu kurallar daha once /media/images/emrah_site_styles_v5.css
   dosyasindaydi ve dosya ANA SAYFA slider BASLIGI alanina gomulu bir
   <link> etiketiyle yukleniyordu. Yani navbar, blog kartlari, footer
   ve floating-social gibi site genelini ilgilendiren kurallar
   yalnizca ana sayfada uygulaniyordu; ic sayfalar bunlardan yoksundu.
   Simdi custom.css'in parcasi, her sayfada gecerli.

   Footer slogani CSS ile gizlenip `::after` ile yeniden yaziliyordu;
   metin artik Genel Ayarlar > Footer Description alanindan geliyor,
   o hack kaldirildi.
   ================================================================== */
.nav-link[href^="/derin-tms"] { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid rgb(32, 92, 98); border-radius: 999px; line-height: 1.2; white-space: nowrap; text-decoration: none; padding: 9px 13px !important; font-weight: 700 !important; transition: none !important; background: rgb(32, 92, 98) !important; color: rgb(255, 255, 255) !important; }

.nav-link[href^="/derin-tms"]:focus-visible { outline: rgb(145, 179, 165) solid 3px; outline-offset: 3px; }

#navbarSupportedContent .navbar-nav { align-items: center; column-gap: 14px; flex-wrap: nowrap; }

@media (min-width: 1200px) {
  #navbarSupportedContent .navbar-nav .nav-item { margin: 0px; padding: 0px; flex: 0 0 auto; }
  #navbarSupportedContent .nav-link { font-size: 16px; white-space: nowrap; }
  #navbarSupportedContent .dextheme-btn { white-space: nowrap; margin-left: 12px; }
  #navbarSupportedContent a.nav-link[href*="english"] { font-size: 0px !important; letter-spacing: 0px; }
  #navbarSupportedContent a.nav-link[href*="english"]::after { content: "EN"; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
}

@media (max-width: 1199px) {
  .nav-link[href^="/derin-tms"] { width: fit-content; max-width: 100%; margin: 5px 16px 10px; }
}

body:has(.hero-banner) .dextheme-container { padding: 0px 24px; }

.dextheme-row:has(.blog-card-item) { flex-wrap: nowrap; overflow: auto; }

.dextheme-row:has(.blog-card-item) > div { flex: 0 0 min(84vw, 360px); }

body:has(.hero-banner) .blog-card-thumbnail { display: block; border-radius: 20px 20px 0px 0px; aspect-ratio: 16 / 9; }

body:has(.hero-banner) .blog-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-item { border-radius: 20px; }

.blog-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.blog-card-meta .meta-item { white-space: nowrap; font-size: 13px; }

.services-marquee .dextheme-service-card, .dextheme-service-card { border: 1px solid rgb(207, 219, 225) !important; border-radius: 14px !important; box-shadow: rgba(25, 63, 70, 0.08) 0px 8px 28px !important; }

.floating-social { left: auto !important; right: 20px !important; bottom: 20px !important; }

@media (max-width: 768px) {
  .floating-social { right: 14px !important; bottom: 14px !important; }
}





.hero-banner .dextheme-animation { opacity: 1 !important; animation: auto ease 0s 1 normal none running none !important; transition: none !important; }

/* 992-1199 px arasi menu "sikistirma" kurallari 2026-11-18'de
   kaldirildi: masaustu menu artik navbar-expand-xl ile 1200 px'te
   aciliyor, o aralikta hamburger menu gosteriliyor. Kurallar acilan
   panelde yazilari kuculttugu icin gereksizdi. */


@media (prefers-reduced-motion: reduce) {
  .services-marquee-track { width: auto; flex-wrap: wrap; justify-content: center; animation: auto ease 0s 1 normal none running none !important; }
  .services-marquee-track > [aria-hidden="true"] { display: none; }
}

/* Keep the home page call button clear of the services cards on narrow screens. */
@media (max-width: 991.98px) {
  .hero-banner + .services-marquee-wrapper {
    margin-top: 0;
  }
}

/* ==================================================================
   Yerlesim kaymasini (CLS) onleyen oran kurallari - 2026-11-18
   ------------------------------------------------------------------
   Kart gorsellerinin gercek olculeri veritabanindan geldigi icin her
   birine width/height nitelikleri yazilamiyor. Kaplara/gorsellere
   sabit ORAN verilince tarayici gorsel inmeden once yeri ayirir ve
   icerik asagi kaymaz.

   Onemli: temanin kendi olculeri (orn. `.image-box-container img
   {width:25%}`, `.dextheme-service-card img{width:62px}`) BILEREK
   degistirilmiyor; yalnizca oran bildiriliyor. Boylece gorunum ayni
   kalirken kayma ortadan kalkiyor.
   ================================================================== */

/* Blog kartlari: tema `height:auto` veriyor, oran bilinmiyordu. */
.blog-card-thumbnail {
  aspect-ratio: 16 / 9;
}
.blog-card-thumbnail img {
  height: 100%;
  object-fit: cover;
}

/* Hizmet/tedavi ikonlari ve "ne yapiyoruz" ikonlari kare kaynaktan
   (300x300) geliyor; genisligi tema belirliyor, yuksekligi oran. */
.image-box-container img,
.dextheme-service-card .card-content img {
  aspect-ratio: 1 / 1;
}

/* Uzman kartlarindaki portreler */
.therapist-card > a > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* width/height nitelikleri eklenen akiskan gorseller kabini asmasin */
img[width][height].img-fluid {
  max-width: 100%;
  height: auto;
}

/* ==================================================================
   Inline SVG ikonlar (elementskit fontunun yerine) - 2026-11-18
   ------------------------------------------------------------------
   `.ikon` eski font ikonlari gibi davranir: boyutu bulundugu yerin
   `font-size`'indan, rengi `currentColor`'dan alir. Boylece
   `<i class="icon icon-user">` yerine gelen SVG ayni olcude ve ayni
   renkte gorunur.
   ================================================================== */

.ikon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
