/* Praxis am Hollenbach CSS */

:root {
  --primary-color: #03989e;
  --secondary-color: #1a2e35;
  --accent-color: #ff6b6b;
  --light-bg: #f8f9fa;
  --dark-text: #333;
  --light-text: #fff;
}

/* Base Styles */
body {
  font-family: 'Roboto', 'Poppins', sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  padding-top: 130px; /* Consistent padding across all pages */
  font-size: 16px;
}

/* Home page specific body padding */
body.home-page {
  padding-top: 130px; /* Keep original padding for home page */
}

/* Section Styles */
.section {
  padding: 70px 0; /* Reduced padding to make sections more compact */
  margin: 40px 0; /* Reduced margin */
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  font-size: 1.6rem;
}

/* Center align headers and subheaders on all pages except home */
body:not(.home-page) .section-title,
body:not(.home-page) .hero-title,
body:not(.home-page) .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Hide subheading on all pages except home */
body:not(.home-page) .hero-subtitle {
  display: none;
}

/* About section image adjustments */
.about-img {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Align about section content */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.section-title:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 8px auto;
  border-radius: 2px;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Top Bar Styles */
.top-bar {
  background: rgba(3, 152, 158, 0.9); /* Slightly transparent primary color */
  color: var(--light-text);
  padding: 8px 0;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar-contact a:hover {
  color: var(--light-text);
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.top-bar-social a:hover {
  color: var(--accent-color);
}

/* Mobile Responsive Styles for Top Bar */
@media (max-width: 768px) {
  .top-bar {
    padding: 5px 0;
    font-size: 0.8rem;
  }
  
  .top-bar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .top-bar-left, .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .top-bar-contact {
    gap: 5px;
  }
  
  .top-bar-contact span {
    font-size: 0.75rem;
  }
  
  .top-bar-social a {
    font-size: 1rem;
  }
  
  .top-bar-contact i {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .top-bar {
    padding: 3px 0;
    font-size: 0.7rem;
  }
  
  .top-bar-content {
    gap: 5px;
  }
  
  .top-bar-left, .top-bar-right {
    gap: 5px;
  }
  
  .top-bar-contact span {
    font-size: 0.7rem;
  }
  
  .top-bar-social a {
    font-size: 0.9rem;
  }
  
  .top-bar-contact i {
    font-size: 0.7rem;
  }
}

/* Mobile Responsive Styles for Navbar */
@media (max-width: 991px) {
  .navbar-nav .nav-item {
    margin: 5px 0;
    background: transparent; /* Ensure nav items have no separate background */
  }
  
  .navbar-nav .btn-accent-header {
    width: calc(100% - 30px);
    margin: 10px 15px;
    text-align: center;
    display: block;
  }
  
  .navbar-nav .nav-link {
    color: #ffffff; /* Ensure nav links are visible on mobile */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Stronger text shadow for better visibility */
  }
  
  .language-switcher {
    display: inline-block;
    margin: 5px 5px 5px 0;
  }
  
  .language-switcher .nav-link {
    margin: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .language-dropdown {
    margin: 5px 15px 15px;
    display: flex;
    justify-content: center;
  }
  
  .language-dropdown .nav-link {
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: transparent; /* Match navbar background */
    color: #ffffff; /* White text for better visibility */
    border: 1px solid transparent; /* Transparent border */
  }
  
  .collapse.navbar-collapse {
    justify-content: center; /* Center navbar items on mobile */
    padding: 10px 0;
    background: transparent; /* Match navbar background */
    backdrop-filter: none; /* Remove separate glass effect */
    -webkit-backdrop-filter: none;
    border-radius: 0; /* Remove rounded corners */
    margin-top: 0; /* Remove top margin */
    box-shadow: none; /* Remove separate shadow */
  }
  
  .logo-img {
    height: 50px; /* Updated to match recommended size of 200px Ã— 70px for mobile */
    transform: translateY(3px); /* Adjust down shift for mobile */
    background: transparent !important; /* Ensure logo has no background on mobile */
  }
  
  .site-header {
    height: 80px; /* Adjust for mobile */
  }
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 36px; /* Height of top bar */
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(40, 40, 40, 0.85); /* Darker grayish background */
  backdrop-filter: blur(10px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 94px; /* Consistent height across all pages */
}

.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  top: 0;
  background: rgba(40, 40, 40, 0.95); /* More opaque when scrolled */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  padding: 5px 0; /* Reduced from 10px to accommodate smaller header */
  background: transparent; /* Ensure navbar has same background as site-header */
}

.navbar .container {
  background: transparent; /* Ensure navbar container has same background as navbar */
}

.logo-img {
  height: 70px; /* Updated to match recommended size of 200px Ã— 70px */
  width: auto; /* Maintain aspect ratio */
  margin-right: 20px; /* Increased from 15px */
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  transform: translateY(5px); /* Shift logo down slightly */
}

/* Favicon with black background */
link[rel="icon"] {
  background-color: #000000;
  border-radius: 4px;
}

.navbar-nav .nav-link {
  color: #ffffff; /* White text for better visibility on dark background */
  font-weight: 600; /* Bolder for better readability */
  padding: 8px 12px;
  margin: 0 12px; /* Increased gap from 8px to 12px */
  border-radius: 4px; /* Slight rounding */
  transition: all 0.3s ease;
  position: relative;
  text-transform: none;
  font-size: 1.0rem;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Stronger text shadow for better visibility */
  background: transparent;
  font-family: 'Roboto', 'Poppins', sans-serif;
  transform: translateY(-2px); /* Move items slightly upward */
}

.navbar-nav .nav-item {
  background: transparent; /* Ensure nav items have no separate background */
}

/* Active nav link styling */
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.2); /* More prominent background for active state */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1); /* Subtle background on hover */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #dc3545;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #ffffff !important;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 0;
  margin-right: auto;
  align-self: center; /* Ensure vertical centering */
  background: transparent; /* Ensure navbar-brand has same background as navbar */
}

.navbar-brand .container-fluid {
  background: transparent; /* Ensure navbar-brand container has same background as navbar */
}

.language-dropdown {
  margin-left: auto;
  background: transparent; /* Ensure language dropdown has same background as navbar */
}

.btn-accent-header {
  background: #dc3545;
  border-color: #dc3545;
  color: var(--light-text);
  border-radius: 4px;
  padding: 8px 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-left: 5px;
}

.btn-accent-header:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(3, 152, 158, 0.4);
  color: var(--light-text);
}

.language-dropdown .nav-link {
  background: transparent; /* No background */
  margin-left: 15px;
  border-radius: 4px; /* Square corners */
  padding: 8px 15px; /* Standard padding */
  text-transform: uppercase;
  font-size: 0.9rem; /* Slightly larger font */
  letter-spacing: 1px;
  color: #ffffff; /* White text for better contrast */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Visible border */
  font-weight: 600; /* Bolder font */
  transition: all 0.3s ease; /* Smooth transition */
  box-shadow: none; /* No shadow */
  position: relative; /* Ensure proper positioning */
  overflow: hidden; /* Contain the underline effect */
}

.language-dropdown .nav-link:hover {
  background: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
  color: var(--primary-color); /* Primary color on hover */
  border-color: rgba(255, 255, 255, 0.5); /* Subtle border on hover */
  transform: none; /* No lift effect */
  box-shadow: none; /* No shadow */
}

/* Remove underline effect for language switcher */
.language-dropdown .nav-link::after {
  display: none;
}

/* Language Switcher with Flags */
.language-switcher .nav-link {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  margin: 0 5px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-switcher .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 5px;
  border-radius: 2px;
}

.collapse.navbar-collapse {
  justify-content: center;
  align-items: center; /* Ensure vertical centering */
  padding: 5px 0; /* Add some padding for better alignment */
  background: transparent; /* Match navbar background */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Ensure navbar links are visible on mobile */
.navbar-nav .nav-link {
  color: #ffffff; /* White text for better visibility on dark background */
}

.dropdown-menu {
  background: rgba(30, 30, 30, 0.95); /* Dark gray background to match navbar */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
  border-radius: 10px; /* More rounded corners */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3); /* Softer shadow */
  overflow: hidden;
  margin-top: 10px;
  backdrop-filter: blur(5px); /* Glass effect */
  -webkit-backdrop-filter: blur(5px);
}

.dropdown-item {
  color: #ffffff; /* Light text for better contrast */
  padding: 10px 20px;
  transition: all 0.2s ease;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem; /* Slightly larger */
  letter-spacing: 0.5px;
  background: transparent; /* Transparent background */
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15); /* Subtle hover background */
  color: var(--primary-color); /* Primary color */
  transform: translateX(3px); /* Subtle shift effect */
}

.navbar-toggler {
  border: none;
  color: var(--light-text);
  padding: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-cta-container {
  position: absolute;
  bottom: 120px; /* Moved closer to the flipping text */
  left: 0;
  right: 0;
  z-index: 3;
}

/* Adjust hero section to accommodate fixed position CTA */
.hero-section {
  background: linear-gradient(to right, rgba(26, 46, 53, 0.8), rgba(26, 46, 53, 0.4)), var(--hero-bg-url, url('../images/herobg.png'));
  background-size: contain; /* Use contain to fit entire image without cropping */
  background-position: center center; /* Center the image */
  background-repeat: no-repeat;
  color: var(--light-text);
  padding: 80px 0 100px 0; /* Further reduced top padding */
  text-align: center;
  position: relative;
  overflow: visible; /* Changed from hidden to visible to prevent cropping */
  margin-top: -100px; /* Reduced negative margin to move down */
  padding-top: 200px; /* Increased padding to shift content down */
  min-height: 100vh;
  width: 100%;
}

.contact-detail-item p {
    margin-bottom: 15px;
}

/* End of styles */

/* Mobile-specific styles for hero section */
@media (max-width: 768px) {
  .hero-section {
    background: linear-gradient(to right, rgba(26, 46, 53, 0.8), rgba(26, 46, 53, 0.4)), var(--hero-bg-url, url('../images/herobg.png'));
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }
  
  .hero-section.home-hero {
    background: linear-gradient(to right, rgba(26, 46, 53, 0.8), rgba(26, 46, 53, 0.4)), var(--hero-bg-url, url('../images/herobg.png'));
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

/* Home page specific hero section */
.hero-section.home-hero {
  min-height: 100vh;
  padding: 80px 0 100px 0; /* Further reduced top padding */
  padding-top: 200px; /* Increased padding to shift content down */
  margin-top: -100px; /* Reduced negative margin to move down */
}

/* Other pages hero section */
.hero-section.page-hero {
  min-height: 30vh !important;
  padding: 30px 0 !important;
  padding-top: 50px !important;
  margin-top: 0 !important;
}

/* Add specific styling for hero content on page heroes to shift heading up */
.hero-section.page-hero .hero-content {
  top: 100px; /* Shift heading up for page heroes */
}

/* More specific selectors to override inline styles */
section.hero-section.page-hero {
  min-height: 30vh !important;
  padding: 30px 0 !important;
  padding-top: 50px !important;
  margin-top: 0 !important;
  height: auto !important;
}

.hero-section.page-hero.team-hero,
.hero-section.page-hero.about-hero,
.hero-section.page-hero.services-hero,
.hero-section.page-hero.contact-hero {
  min-height: 30vh !important;
  padding: 30px 0 !important;
  padding-top: 50px !important;
  margin-top: 0 !important;
  height: auto !important;
}

/* Even more specific selectors to override inline styles */
section.hero-section.page-hero[style*='background'] {
  min-height: 30vh !important;
  padding: 30px 0 !important;
  padding-top: 50px !important;
  margin-top: 0 !important;
  height: auto !important;
}

/* Target specific page hero sections with inline styles */
section.hero-section.page-hero.team-hero[style*='background'],
section.hero-section.page-hero.about-hero[style*='background'],
section.hero-section.page-hero.services-hero[style*='background'],
section.hero-section.page-hero.contact-hero[style*='background'] {
  min-height: 30vh !important;
  padding: 30px 0 !important;
  padding-top: 50px !important;
  margin-top: 0 !important;
  height: auto !important;
}

.hero-section .container {
  height: 100%;
  width: 100%;
  padding-top: 0; /* Remove top padding */
}

.hero-section .row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  align-items: center;
  height: 100%;
  text-align: center;
  width: 100%;
  top: 200px; /* Shifted down from 140px */
  left: 0;
  right: 0;
  padding-top: 20px; /* Reduce top padding */
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px; /* Reduced margin */
  margin-top: 0; /* Remove top margin */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  text-align: center;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  white-space: pre-line;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: #dc3545; /* Primary red color */
}

.hero-title .highlight:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #dc3545; /* Solid red color */
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 25px; /* Reduced margin */
  opacity: 0.95;
  max-width: 600px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  margin: 10px auto; /* Reduced margin */
  margin-left: auto;
  margin-right: auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 0; /* Reset margin since it's positioned absolutely */
  animation: fadeIn 1s ease 0.9s both;
  justify-content: center;
  margin-bottom: 20px; /* Add bottom margin for spacing */
}

.hero-cta {
  background: #dc3545;
  border-color: #dc3545;
  color: var(--light-text);
  border-radius: 4px;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
  animation: fadeInUp 1s ease 0.6s both;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 30px auto;
  align-self: center;
  text-align: center;
}

.hero-cta:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(3, 152, 158, 0.4);
  color: var(--light-text);
}

.hero-features .hero-feature,
.hero-features a.hero-feature {
  display: flex;
  align-items: center;
  justify-content: center; /* Center content */
  background: rgba(0, 0, 0, 0.75); /* Black glassy background with 75% opacity */
  padding: 15px 25px; /* Same padding for both buttons */
  border-radius: 8px; /* Increased border radius for more rounded corners */
  backdrop-filter: blur(8px); /* Enhanced glass effect */
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-width: 220px; /* Same minimum width for both buttons */
  margin: 0 10px; /* Consistent spacing */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for glass effect */
  border: none; /* Remove Bootstrap border */
  background-image: none; /* Remove Bootstrap background */
}

.hero-features .hero-feature:hover,
.hero-features a.hero-feature:hover {
  background: var(--primary-color); /* Primary color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 152, 158, 0.4);
}

.hero-features .hero-feature i,
.hero-features a.hero-feature i {
  margin-right: 12px;
  color: #dc3545; /* Red icon color */
  font-size: 1.3rem;
}

.hero-features .hero-feature span,
.hero-features a.hero-feature span {
  color: white; /* White text */
  font-size: 1.1rem;
}

/* Mobile-specific styles for hero section */
@media (max-width: 768px) {
  .hero-section {
    background: linear-gradient(to right, rgba(26, 46, 53, 0.8), rgba(26, 46, 53, 0.4)), url('../images/Untitled design (2).png') !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  
  .hero-section.home-hero {
    background: linear-gradient(to right, rgba(26, 46, 53, 0.8), rgba(26, 46, 53, 0.4)), url('../images/Untitled design (2).png') !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  
  /* Adjust hero content positioning on mobile */
  .hero-content {
    top: 320px; /* Shift heading further down */
  }
  
  /* Reduce font size on mobile */
  .hero-title {
    font-size: 2.2rem !important; /* Smaller font size for mobile */
    color: white !important; /* White color for heading on mobile */
    margin-bottom: 30px !important; /* Add gap between heading and flip text */
  }
  
  /* Override inline styles with higher specificity */
  .hero-title[style] {
    color: white !important;
    font-size: 2.2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.5rem !important; /* Smaller font size for mobile */
    color: white !important; /* White color for subtitle on mobile */
  }
  
  /* Override inline styles with higher specificity */
  .hero-subtitle[style] {
    color: white !important;
    font-size: 1.5rem !important;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-zoom-in {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-zoom-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* Card Styles - Updated with 3D float effect */
.card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Individual card hover effects - 3D float */
.card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.team-member-card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.highlight-card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.testimonial-card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.service-detail-card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.contact-card:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Remove the old hover effects that affected entire sections */
/*
.card:hover,
.service-card:hover,
.team-member-card:hover,
.highlight-card:hover,
.service-detail-card:hover,
.contact-card:hover,
.member-info:hover,
.contact-form-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
*/

.service-highlight-card:hover,
.about-highlights:hover,
.why-us-content:hover,
.appointment-form-container:hover,
.hours-compact-container:hover,
.footer-hours:hover,
.contact-details-card:hover,
.contact-form-card:hover {
  /* transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative; */
}

.card:hover::after,
.service-card:hover::after,
.team-member-card:hover::after,
.highlight-card:hover::after,
.service-detail-card:hover::after,
.contact-card:hover::after,
.member-info:hover::after,
.service-highlight-card:hover::after,
.about-highlights:hover::after,
.why-us-content:hover::after,
.appointment-form-container:hover::after,
.hours-compact-container:hover::after,
.footer-hours:hover::after,
.contact-details-card:hover::after,
.contact-form-card:hover::after {
  /* content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px 5px rgba(3, 152, 158, 0.4);
  z-index: -1;
  filter: blur(15px);
  opacity: 0.7; */
}

.card-body {
  padding: 2rem;
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 152, 158, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-icon i {
  transition: all 0.3s ease;
}

.service-card:hover .feature-icon {
  background: rgba(3, 152, 158, 0.2);
  transform: scale(1.1);
}

.service-card:hover .feature-icon i {
  color: var(--primary-color);
  transform: scale(1.2);
}

.card-title {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-text {
  color: var(--dark-text);
  line-height: 1.7;
  font-size: 1rem;
}

.value-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 152, 158, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.value-icon .fa-heart {
  color: var(--accent-color);
}

.value-icon .fa-lightbulb {
  color: var(--accent-color);
}

.feature-item {
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-icon-small {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 152, 158, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-item h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--dark-text);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* CTA Section */
.bg-primary {
  background-color: var(--primary-color) !important;
  background-image: url('../images/herobg.png') !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Services Page CTA Section */
.services-cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/clinic-team.jpg') no-repeat center center !important;
  background-size: cover !important;
  padding: 70px 20px !important;
  text-align: center;
}

.services-cta-section .cta-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.services-cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-cta-section p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.7;
  opacity: 0.95;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-red {
  background: #dc3545; /* Red color */
  border-color: #dc3545; /* Red color */
  color: var(--light-text);
  font-weight: 600;
  padding: 16px 45px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
  margin: 0 auto;
  display: inline-block;
  width: auto;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-cta-red:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(3, 152, 158, 0.5);
  color: var(--light-text);
}

/* Responsive adjustments for CTA section */
@media (max-width: 992px) {
  .services-cta-section h2 {
    font-size: 2rem;
  }
  
  .services-cta-section p {
    font-size: 1.05rem;
  }
  
  .btn-cta-red {
    padding: 14px 35px;
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .services-cta-section {
    padding: 60px 15px !important;
  }
  
  .services-cta-section .cta-content {
    padding: 30px 20px;
  }
  
  .services-cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .services-cta-section {
    padding: 50px 10px !important;
  }
  
  .services-cta-section .cta-content {
    padding: 25px 15px;
  }
  
  .services-cta-section h2 {
    font-size: 1.6rem;
  }
  
  .services-cta-section p {
    font-size: 1rem;
  }
  
  .btn-cta-red {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

.btn-light {
  background-color: var(--light-text);
  border-color: var(--light-text);
  color: var(--primary-color);
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stat-number {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--dark-text);
  font-weight: 500;
}

/* Testimonials Section */
.testimonial-rating {
  color: #ffc107;
}

.testimonial-author {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.testimonial-author h5 {
  color: var(--secondary-color);
}

/* Process Section */
.process-step {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto;
}

.process-step h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* FAQ Section */
.accordion-button {
  font-weight: 600;
  color: var(--secondary-color);
  background-color: var(--light-bg);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(3, 152, 158, 0.05);
}

.accordion-body {
  color: var(--dark-text);
  line-height: 1.7;
}

/* Contact Cards */
.contact-card {
  background: var(--light-text);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Contact card hover effect handled by global 3D effect */

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 152, 158, 0.1);
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.contact-card h3 {
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Emergency Section */
.bg-danger {
  background-color: #dc3545 !important;
}

/* About Section */
.about-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.about-img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Appointment Form Styles */
.appointment-form-container {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.appointment-form-container .section-title {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.progress {
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding: 1.5rem;
}

.form-check {
    margin-bottom: 0.5rem;
}

.confirmation-icon {
    color: var(--primary-color);
}

.countdown-timer {
    border: 2px dashed var(--primary-color);
}

/* Responsive adjustments for appointment form */
@media (max-width: 768px) {
    .step-content {
        padding: 1rem;
    }
    
    .progress {
        height: 25px;
        font-size: 0.8rem;
    }
}

/* About Page Styles */
.about-content {
  padding: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* About Page Styles */
.about-highlights {
    background: rgba(3, 152, 158, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.service-highlight-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease;
}

.service-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(3, 152, 158, 0.2);
}

.service-highlight-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-highlight-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.service-highlight-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.service-highlight-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.service-highlight-card ul li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    padding-left: 30px;
}

.service-highlight-card ul li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.service-highlight-card ul li:hover i {
    transform: scale(1.2);
}

.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

/* Service Card Styles */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

/* Mission Section Cards - More Professional Styling */
.mission-section .service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
    padding: 30px 25px;
}

/* Why Choose Us Section - Enhanced Styling */
.why-choose-us-section .highlight-card {
  text-align: center;
  padding: 30px 25px;
  transition: all 0.4s ease;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: none;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.why-choose-us-section .highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transition: all 0.4s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.why-choose-us-section .highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(3, 152, 158, 0.2);
}

.why-choose-us-section .highlight-card:hover::before {
  transform: scaleX(1);
}

.why-choose-us-section .highlight-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-choose-us-section .highlight-card:hover .highlight-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--accent-color);
}

.why-choose-us-section .highlight-card h3 {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.why-choose-us-section .highlight-card:hover h3 {
  color: var(--primary-color);
}

.why-choose-us-section .highlight-card p {
  color: var(--dark-text);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.why-choose-us-section .highlight-card:hover p {
  color: #555;
}

.mission-section .service-card:hover {
    transform: translateY(-8px) translateZ(15px);
    box-shadow: 0 12px 30px rgba(3, 152, 158, 0.25);
    z-index: 10;
}

.mission-section .service-card .card-body {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.mission-section .service-card .card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.mission-section .service-card:hover .card-title {
    color: var(--primary-color);
}

.mission-section .service-card .card-text {
    color: var(--dark-text);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
    flex-grow: 1;
}

/* Service card hover effect handled by global 3D effect */

/* Service Card Styles - Updated Design */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) translateZ(20px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(3, 152, 158, 0.2);
    z-index: 10;
}

.service-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.service-card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover .card-title {
    color: var(--primary-color);
}

.card-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card-image-wrapper {
        height: 180px;
    }
    
    .service-card .card-body {
        padding: 20px 15px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .service-card-image-wrapper {
        height: 160px;
    }
    
    .service-card .card-body {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin: 20px 0 10px 0;
    }
}

.services-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.services-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.services-image:hover {
    transform: scale(1.05);
}

/* Service Detail Row Styles */
.service-detail-row {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.service-detail-row:hover {
    background-color: rgba(3, 152, 158, 0.02);
    border-radius: 15px;
}

/* Service Detail Card Styles */
.service-detail-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.feature-item span {
    margin-left: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Service Image Styles */
.service-image-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-detail-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 5px solid #fff;
}

.service-detail-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for service images */
@media (max-width: 992px) {
    .service-detail-row {
        padding: 15px 0;
    }
    
    .service-detail-row:hover {
        background-color: transparent;
        border-radius: 0;
    }
    
    .service-image-wrapper {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    .service-detail-image {
        border-radius: 10px;
        border: 3px solid #fff;
    }
    
    .service-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Team Section */
.team-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.team-member-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
    z-index: 2;
    position: relative;
}

.team-member-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(3, 152, 158, 0.1);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
}

.member-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}

.member-bio p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.member-qualifications ul {
    text-align: left;
    margin-bottom: 20px;
}

.member-qualifications li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(3, 152, 158, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Why Us Section */
.why-us-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.why-us-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.why-us-section .section-title:after {
  margin: 15px auto;
}

.why-us-content-row {
  align-items: center;
}

.why-us-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
  /* Cross-rectangle styling */
  transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.why-us-image-wrapper:hover {
  transform: perspective(800px) rotateY(-10deg) rotateX(3deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-us-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.why-us-image-wrapper:hover .why-us-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(3, 152, 158, 0.7), rgba(26, 46, 53, 0.5));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Mobile Responsive Styles for Navbar */
@media (max-width: 991px) {
  .navbar-nav .nav-item {
    margin: 5px 0;
    background: transparent; /* Ensure nav items have no separate background */
  }
  
  .navbar-nav .btn-accent-header {
    width: calc(100% - 30px);
    margin: 10px 15px;
    text-align: center;
    display: block;
  }
  
  .navbar-nav .nav-link {
    color: #ffffff; /* Ensure nav links are visible on mobile */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Stronger text shadow for better visibility */
  }
  
  .language-dropdown {
    margin: 5px 15px 15px;
    display: flex;
    justify-content: center;
  }
  
  .language-dropdown .nav-link {
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: transparent; /* No background */
    color: #ffffff; /* Consistent light text */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Visible border */
    border-radius: 4px; /* Square corners */
    padding: 8px 15px; /* Standard padding */
    font-weight: 600; /* Bolder text */
    box-shadow: none; /* No shadow */
    position: relative; /* Ensure proper positioning */
    overflow: hidden; /* Contain effects */
  }
  
  /* Remove underline effect for mobile language switcher */
  .language-dropdown .nav-link::after {
    display: none;
  }
  
  .collapse.navbar-collapse {
    justify-content: flex-start;
    padding: 10px 0;
    background: transparent; /* Match navbar background */
    backdrop-filter: none; /* Remove separate glass effect */
    -webkit-backdrop-filter: none;
    border-radius: 0; /* Remove rounded corners */
    margin-top: 0; /* Remove top margin */
    box-shadow: none; /* Remove separate shadow */
  }
  
  .logo-img {
    height: 50px; /* Updated to match recommended size of 200px Ã— 70px for mobile */
    transform: translateY(3px); /* Adjust down shift for mobile */
    background: transparent !important; /* Ensure logo has no background on mobile */
  }
  
  .site-header {
    height: 80px; /* Adjust for mobile */
  }
}

.why-us-image-wrapper:hover .image-overlay {
  opacity: 0.8;
}

.why-us-text-col {
  display: flex;
  align-items: center;
}

.why-us-content {
  padding: 20px;
  max-width: 500px;
}

.why-us-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.why-us-points {
  margin: 30px 0;
}

.why-us-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-us-point:hover {
  transform: translateX(5px);
}

.why-us-point i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 25px;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.why-us-point:hover i {
  transform: scale(1.2);
}

.why-us-point span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Appointment CTA */
.appointment-cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.appointment-cta-section .section-title {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.appointment-cta-section .section-title:after {
    background-color: var(--accent-color);
}

.appointment-cta-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 400; /* Lighter font weight */
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.btn-cta-primary {
    background: #dc3545; /* Red color */
    border-color: #dc3545; /* Red color */
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-secondary:hover {
    background: var(--light-text);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Clinic Highlights Section */
.highlights-section {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
  color: var(--light-text);
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  background: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.highlight-card h3 {
  color: var(--secondary-color);
}

.highlight-card p {
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Opening Hours Section */
.opening-hours-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hours-compact-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hours-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hours-compact-item {
    background: rgba(3, 152, 158, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hours-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hours-compact-item.closed {
    background: rgba(255, 107, 107, 0.05);
}

.hours-compact-item.closed:hover {
    border-color: var(--accent-color);
}

.day-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.day-hours {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.hours-compact-item.closed .day-name,
.hours-compact-item.closed .day-hours {
    color: var(--accent-color);
}

/* Footer Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-hours h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text);
    text-align: center;
}

.footer-hours h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hours-item .day {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-text);
}

.hours-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-item.closed .day,
.hours-item.closed .time {
    color: var(--accent-color);
}

/* Appointment Form Section */
.appointment-form-section {
    background: white; /* Changed from gradient to white */
    color: var(--dark-text);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.appointment-form-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

.appointment-form-image {
    border-radius: 10px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.appointment-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.appointment-form .form-control, 
.appointment-form .form-select {
    border-radius: 8px;
    padding: 10px 12px;
    border: 2px solid #e1e5eb;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.appointment-form .form-control:focus, 
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.appointment-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.btn-cta-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

/* Contact Section */
.contact-form .form-control {
  border-radius: 5px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.contact-details-card {
  background: var(--light-text);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.contact-detail-item i {
  font-size: 1.1rem;
  margin-top: 4px;
  color: #dc3545; /* Red color for consistency */
}

.contact-detail-item p {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--light-text);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Flip Animation Styles */
.flip-animation {
  display: inline-block;
  perspective: 1000px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-animation span {
  display: inline-block;
  transition: all 0.5s ease;
  color: var(--primary-color); /* Use primary color */
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.flip-animation.flip span {
  transform: rotateX(90deg);
  opacity: 0;
}

.flip-animation.new span {
  transform: rotateX(-90deg);
  opacity: 0;
}

.flip-animation.show span {
  transform: rotateX(0deg);
  opacity: 1;
}

/* Responsive adjustments for flip text */
@media (max-width: 768px) {
  .flip-animation {
    height: auto;
    min-height: 40px;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
    height: auto;
    min-height: 60px;
  }
  
  .flip-animation span {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .hero-subtitle {
    font-size: 1.2rem;
    min-height: 50px;
  }
  
  .flip-animation span {
    font-size: 1.2rem;
  }
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  font-size: 1rem;
}

.footer-top {
  padding: 70px 0 40px 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact-info h5 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--light-text);
  font-size: 1.3rem;
}

.footer-links h5:after,
.footer-contact-info h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-info i {
  width: 20px;
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-contact-info span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--light-text);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page specific hero sections */
.hero-section.about-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_with_medical_team_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.services-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_sprick_no_nameplate.png') no-repeat right center;
  background-size: contain;
}

.hero-section.team-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_variation_3_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.appointment-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_krause_consultation_no_nameplate.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.contact-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/clinic-team.jpg') no-repeat right center;
  background-size: contain;
}

/* Responsive Design */
@media (max-width: 992px) {
  .top-bar-left,
  .top-bar-right {
    gap: 10px;
  }
  
  .top-bar-contact span {
    font-size: 0.8rem;
  }
  
  .top-bar-social a {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px; /* Reduced padding since top bar is hidden */
    font-size: 15px;
  }
  
  .site-header {
    top: 0;
  }
  
  .top-bar {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 50px 0; /* Reduced padding for more compact sections on tablets */
  }
  
  .section-title {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .section-title:after {
    margin: 8px auto;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-feature {
    width: 100%;
  }
  
  .footer-links, .footer-hours {
    margin-bottom: 30px;
  }
  
  .member-image {
    height: 250px;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-cta-primary, .btn-cta-secondary {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  
  /* Center all cards on mobile */
  .service-card,
  .team-member-card,
  .highlight-card,
  .testimonial-card,
  .service-detail-card,
  .contact-card,
  .member-info,
  .service-highlight-card,
  .about-highlights,
  .why-us-content,
  .appointment-form-container,
  .hours-compact-container,
  .footer-hours,
  .contact-details-card,
  .contact-form-card {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .card-title,
  .member-name,
  .highlight-card h3 {
    justify-content: center;
    text-align: center;
  }
  
  .card-text,
  .member-bio p,
  .highlight-card p {
    text-align: center;
  }
  
  .service-icon,
  .highlight-icon {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Why Us Section Responsive */
  .why-us-content-row {
    flex-direction: column;
  }
  
  .why-us-image-col {
    margin-bottom: 40px;
  }
  
  .why-us-image-wrapper {
    max-width: 100%;
  }
  
  .why-us-content {
    max-width: 100%;
    padding: 15px;
  }
  
  .why-us-section .section-title {
    text-align: center;
  }
  
  .why-us-section .section-title:after {
    margin: 15px auto;
  }
  
  /* Contact Section Responsive */
  .contact-details-card,
  .contact-form-card {
    padding: 20px;
  }
  
  .contact-detail-item {
    flex-direction: column;
  }
  
  .contact-detail-item i {
    margin-bottom: 10px;
  }
  
  /* Footer Legal Links */
  .footer-legal {
    justify-content: center;
    gap: 10px;
  }
  
  .footer-legal li {
    margin-bottom: 5px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.7rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    height: 50px; /* Fixed height for mobile */
  }
  
  .hero-section {
    padding: 100px 0 80px 0;
  }
  
  .section {
    padding: 40px 0; /* Reduced padding for more compact sections on mobile */
  }
  
  .hero-cta, .btn-cta-primary, .btn-cta-secondary {
    padding: 12px 30px;
    font-size: 1rem;
    width: 90%;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .member-image {
    height: 200px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Why Us Section Mobile */
  .why-us-point {
    margin-bottom: 15px;
  }
  
  .why-us-point span {
    font-size: 1rem;
  }
  
  .why-us-section .section-title {
    text-align: center;
  }
  
  .why-us-section .section-title:after {
    margin: 15px auto;
  }
  
  /* Contact Section Mobile */
  .contact-details-card,
  .contact-form-card {
    padding: 15px;
  }
  
  .contact-form-card h3,
  .contact-details-card h3 {
    font-size: 1.3rem;
  }
  
  /* Footer */
  .footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-legal li {
    margin-bottom: 10px;
  }
  
  .copyright {
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 992px) {
  .btn-cta-primary, .btn-cta-secondary {
    margin: 10px 5px;
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .btn-cta-primary, .btn-cta-secondary {
    display: block;
    margin: 10px auto;
    width: 80%;
    padding: 12px 20px;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-cta, .btn-cta-primary, .btn-cta-secondary {
    padding: 12px 30px;
    font-size: 1rem;
    width: 90%;
  }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
  .hero-cta, .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  
  .btn-cta-primary, .btn-cta-secondary {
    margin: 8px 0;
    font-size: 0.9rem;
  }
}

/* Button Styles */
.btn-primary {
  background-color: #dc3545; /* Red color */
  border-color: #dc3545; /* Red color */
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-text);
}

/* Why Choose Our Services Section - Services Page */
.services-why-us {
  background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/linic_why_choose_us_section.jpg') no-repeat center center;
  background-size: cover;
  color: var(--light-text);
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  padding: 60px 0;
  margin: 40px 0;
}

.services-why-us .section-title {
  color: white;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-why-us .section-title:after {
  background-color: var(--accent-color);
  margin: 15px auto;
}

.services-why-us .feature-item h4 {
  color: var(--light-text);
}

.services-why-us .feature-item p {
  color: rgba(255, 255, 255, 0.9);
}

.services-why-us .feature-icon-small {
  background: rgba(255, 255, 255, 0.1);
}

.services-why-us .feature-icon-small i {
  color: var(--accent-color);
}

.services-why-us .feature-item:hover {
  transform: translateX(5px);
}

/* Services Main Section */

.services-main-section .section-title {
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-image {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-card .card-body {
        padding: 20px 15px;
    }
}

.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

.services-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.services-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.services-image:hover {
    transform: scale(1.05);
}

/* Service Detail Row Styles */
.service-detail-row {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.service-detail-row:hover {
    background-color: rgba(3, 152, 158, 0.02);
    border-radius: 15px;
}

/* Service Detail Card Styles */
.service-detail-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.feature-item span {
    margin-left: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Service Image Styles */
.service-image-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-detail-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 5px solid #fff;
}

.service-detail-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for service images */
@media (max-width: 992px) {
    .service-detail-row {
        padding: 15px 0;
    }
    
    .service-detail-row:hover {
        background-color: transparent;
        border-radius: 0;
    }
    
    .service-image-wrapper {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    .service-detail-image {
        border-radius: 10px;
        border: 3px solid #fff;
    }
    
    .service-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Team Section */
.team-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.team-member-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
    z-index: 2;
    position: relative;
}

.team-member-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(3, 152, 158, 0.1);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
}

.member-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}

.member-bio p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.member-qualifications ul {
    text-align: left;
    margin-bottom: 20px;
}

.member-qualifications li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(3, 152, 158, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Why Us Section */
.why-us-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.why-us-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.why-us-section .section-title:after {
  margin: 15px auto;
}

.why-us-content-row {
  align-items: center;
}

.why-us-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
  /* Cross-rectangle styling */
  transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.why-us-image-wrapper:hover {
  transform: perspective(800px) rotateY(-10deg) rotateX(3deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-us-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.why-us-image-wrapper:hover .why-us-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(3, 152, 158, 0.7), rgba(26, 46, 53, 0.5));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.why-us-image-wrapper:hover .image-overlay {
  opacity: 0.8;
}

.why-us-text-col {
  display: flex;
  align-items: center;
}

.why-us-content {
  padding: 20px;
  max-width: 500px;
}

.why-us-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.why-us-points {
  margin: 30px 0;
}

.why-us-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-us-point:hover {
  transform: translateX(5px);
}

.why-us-point i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 25px;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.why-us-point:hover i {
  transform: scale(1.2);
}

.why-us-point span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Appointment CTA */
.appointment-cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.appointment-cta-section .section-title {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.appointment-cta-section .section-title:after {
    background-color: var(--accent-color);
}

.appointment-cta-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 400; /* Lighter font weight */
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.btn-cta-primary {
    background: #dc3545; /* Red color */
    border-color: #dc3545; /* Red color */
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-secondary:hover {
    background: var(--light-text);
}

/* Image hover effects */
.member-image,
.service-detail-image,
.about-img,
.why-us-image {
  transition: all 0.5s ease;
}

.member-image:hover,
.service-detail-image:hover,
.about-img:hover,
.why-us-image:hover {
  transform: scale(1.03) translateZ(5px);
  box-shadow: 0 10px 25px rgba(3, 152, 158, 0.2);
}

/* Card hover effects with 3D backlight */
.card,
.service-card,
.team-member-card,
.highlight-card,
.service-detail-card,
.contact-card,
.member-info,
.service-highlight-card,
.about-highlights,
.why-us-content,
.appointment-form-container,
.hours-compact-container,
.footer-hours,
.contact-details-card,
.contact-form-card {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.card:hover,
.service-card:hover,
.team-member-card:hover,
.highlight-card:hover,
.service-detail-card:hover,
.contact-card:hover,
.member-info:hover,
.service-highlight-card:hover,
.about-highlights:hover,
.why-us-content:hover,
.appointment-form-container:hover,
.hours-compact-container:hover,
.footer-hours:hover,
.contact-details-card:hover,
.contact-form-card:hover {
  transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
  z-index: 2;
}

.card:hover::before,
.service-card:hover::before,
.team-member-card:hover::before,
.highlight-card:hover::before,
.service-detail-card:hover::before,
.contact-card:hover::before,
.member-info:hover::before,
.service-highlight-card:hover::before,
.about-highlights:hover::before,
.why-us-content:hover::before,
.appointment-form-container:hover::before,
.hours-compact-container:hover::before,
.footer-hours:hover::before,
.contact-details-card:hover::before,
.contact-form-card:hover::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(3, 152, 158, 0.1);
  border-radius: inherit;
  z-index: -1;
  filter: blur(10px);
}

/* Feature item hover effects */
.feature-item,
.why-us-point,
.member-qualifications ul li,
.service-features .feature-item {
  transition: all 0.3s ease;
}

.feature-item:hover,
.why-us-point:hover,
.member-qualifications ul li:hover,
.service-features .feature-item:hover {
  transform: translateX(5px) translateZ(5px);
  background: rgba(3, 152, 158, 0.05);
  border-radius: 4px;
  padding-left: 10px;
}

/* Button hover effects - ensure all buttons follow the standard */
.btn-primary,
.btn-accent-header,
.btn-cta-primary,
.btn-light {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-accent-header:hover,
.btn-cta-primary:hover,
.btn-light:hover {
  transform: translateY(-2px) translateZ(5px);
  box-shadow: 0 8px 20px rgba(3, 152, 158, 0.4);
}

.btn-primary:hover::after,
.btn-accent-header:hover::after,
.btn-cta-primary:hover::after,
.btn-light:hover::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: rgba(3, 152, 158, 0.2);
  border-radius: inherit;
  z-index: -1;
  filter: blur(15px);
}

/* Service icon hover effects */
.service-icon,
.feature-icon,
.value-icon,
.feature-icon-small {
  transition: all 0.3s ease;
}

.service-icon:hover,
.feature-icon:hover,
.value-icon:hover,
.feature-icon-small:hover {
  transform: scale(1.1) rotate(5deg) translateZ(5px);
  box-shadow: 0 5px 15px rgba(3, 152, 158, 0.3);
}

/* Clinic Highlights Section */
.highlights-section {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
  color: var(--light-text);
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  background: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.highlight-card h3 {
  color: var(--secondary-color);
}

.highlight-card p {
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Opening Hours Section */
.opening-hours-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hours-compact-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hours-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hours-compact-item {
    background: rgba(3, 152, 158, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hours-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hours-compact-item.closed {
    background: rgba(255, 107, 107, 0.05);
}

.hours-compact-item.closed:hover {
    border-color: var(--accent-color);
}

.day-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.day-hours {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.hours-compact-item.closed .day-name,
.hours-compact-item.closed .day-hours {
    color: var(--accent-color);
}

/* Footer Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-hours h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text);
    text-align: center;
}

.footer-hours h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hours-item .day {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-text);
}

.hours-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-item.closed .day,
.hours-item.closed .time {
    color: var(--accent-color);
}

/* Appointment Form Section */
.appointment-form-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.appointment-form-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

.appointment-form-image {
    border-radius: 10px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.appointment-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.appointment-form .form-control, 
.appointment-form .form-select {
    border-radius: 8px;
    padding: 10px 12px;
    border: 2px solid #e1e5eb;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.appointment-form .form-control:focus, 
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.appointment-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.btn-cta-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

/* Contact Section */
.contact-form .form-control {
  border-radius: 5px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.contact-details-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-detail-item i {
  font-size: 1.2rem;
  margin-top: 5px;
}

.contact-detail-item p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

/* End of styles */

.location-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card .ratio {
  border-radius: 10px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  font-size: 1rem;
}

.footer-top {
  padding: 70px 0 40px 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact-info h5 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--light-text);
  font-size: 1.3rem;
}

.footer-links h5:after,
.footer-contact-info h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-info i {
  width: 20px;
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-contact-info span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--light-text);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page specific hero sections */
.hero-section.about-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_with_medical_team_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.services-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_sprick_no_nameplate.png') no-repeat right center;
  background-size: contain;
}

.hero-section.team-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_variation_3_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.appointment-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_krause_consultation_no_nameplate.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.contact-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/clinic-team.jpg') no-repeat right center;
  background-size: contain;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    background-position: center center;
    padding-top: 160px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
    height: 55px;
  }
  
  .hero-features {
    gap: 10px;
  }
  
  .hero-feature {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .hero-feature i {
    font-size: 1.1rem;
/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    padding: 140px 0 40px 0;
    padding-top: 160px;
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    min-height: 50px;
  }
  
  .hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
    margin: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-content, .services-content {
    margin-bottom: 30px;
  }
  
  .feature-item {
    margin-bottom: 20px;
  }
  
  .appointment-cta {
    padding: 40px 20px;
  }
  
  .appointment-cta h2 {
    font-size: 1.8rem;
  }
  
  .contact-details-card,
  .contact-form-card {
    padding: 15px;
  }
  
  .contact-form-card h3,
  .contact-details-card h3 {
    font-size: 1.3rem;
  }
}

/* Button Styles */
.hero-cta,
.appointment-cta button,
.contact-form button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-cta:hover,
.appointment-cta button:hover,
.contact-form button:hover {
  background-color: #0056b3;
}

/* Feature Styles */
.hero-feature {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.hero-feature i {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Alternative black version */
.hero-feature.black {
  background: #212529; /* Dark black */
  box-shadow: 0 4px 15px rgba(33, 37, 41, 0.3);
}

.hero-feature.black:hover {
  background: #000000; /* Pure black on hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile Styles for Hero Section */
@media (max-width: 768px) {
  .hero-content {
    top: 100px; /* Move heading and flipping text down slightly on mobile */
    padding-top: 10px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
    margin: 5px auto;
    min-height: auto;
  }
  
  .hero-section {
    background-size: cover; /* Use cover on mobile to better fit the screen */
    background-position: center center;
    margin-top: -60px;
    padding-top: 100px;
  }
  
  .hero-cta-container {
    bottom: 20px; /* Reduce gap for CTA buttons on mobile */
  }
  
  .hero-feature {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .hero-feature i {
    font-size: 1rem;
    margin-right: 8px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    top: 80px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    margin-top: -40px;
    padding-top: 80px;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-feature {
    width: 100%;
    justify-content: center;
  }
}

/* Animations */
  .contact-details-card h3 {
    font-size: 1.3rem;
  }

/* Button Styles */
.btn-primary {
  background-color: #dc3545; /* Red color */
  border-color: #dc3545; /* Red color */
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-text);
}

/* Why Choose Our Services Section - Services Page */
.services-why-us {
  background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/linic_why_choose_us_section.jpg') no-repeat center center;
  background-size: cover;
  color: var(--light-text);
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  padding: 60px 0;
  margin: 40px 0;
}

.services-why-us .section-title {
  color: white;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-why-us .section-title:after {
  background-color: var(--accent-color);
  margin: 15px auto;
}

.services-why-us .feature-item h4 {
  color: var(--light-text);
}

.services-why-us .feature-item p {
  color: rgba(255, 255, 255, 0.9);
}

.services-why-us .feature-icon-small {
  background: rgba(255, 255, 255, 0.1);
}

.services-why-us .feature-icon-small i {
  color: var(--accent-color);
}

.services-why-us .feature-item:hover {
  transform: translateX(5px);
}

/* Services Main Section */
.services-main-section {
    background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/herobg.png') no-repeat center center;
    background-size: cover;
}

.services-main-section .section-title {
    color: var(--light-text);
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-image {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-card .card-body {
        padding: 20px 15px;
    }
}

.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

.services-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.services-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.services-image:hover {
    transform: scale(1.05);
}

/* Service Detail Row Styles */
.service-detail-row {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.service-detail-row:hover {
    background-color: rgba(3, 152, 158, 0.02);
    border-radius: 15px;
}

/* Service Detail Card Styles */
.service-detail-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.feature-item span {
    margin-left: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Service Image Styles */
.service-image-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-detail-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 5px solid #fff;
}

.service-detail-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for service images */
@media (max-width: 992px) {
    .service-detail-row {
        padding: 15px 0;
    }
    
    .service-detail-row:hover {
        background-color: transparent;
        border-radius: 0;
    }
    
    .service-image-wrapper {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    .service-detail-image {
        border-radius: 10px;
        border: 3px solid #fff;
    }
    
    .service-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Team Section */
.team-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.team-member-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
    z-index: 2;
    position: relative;
}

.team-member-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(3, 152, 158, 0.1);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
}

.member-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}

.member-bio p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.member-qualifications ul {
    text-align: left;
    margin-bottom: 20px;
}

.member-qualifications li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(3, 152, 158, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Why Us Section */
.why-us-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.why-us-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.why-us-section .section-title:after {
  margin: 15px auto;
}

.why-us-content-row {
  align-items: center;
}

.why-us-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
  /* Cross-rectangle styling */
  transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.why-us-image-wrapper:hover {
  transform: perspective(800px) rotateY(-10deg) rotateX(3deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-us-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.why-us-image-wrapper:hover .why-us-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(3, 152, 158, 0.7), rgba(26, 46, 53, 0.5));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.why-us-image-wrapper:hover .image-overlay {
  opacity: 0.8;
}

.why-us-text-col {
  display: flex;
  align-items: center;
}

.why-us-content {
  padding: 20px;
  max-width: 500px;
}

.why-us-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.why-us-points {
  margin: 30px 0;
}

.why-us-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-us-point:hover {
  transform: translateX(5px);
}

.why-us-point i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 25px;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.why-us-point:hover i {
  transform: scale(1.2);
}

.why-us-point span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Appointment CTA */
.appointment-cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.appointment-cta-section .section-title {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.appointment-cta-section .section-title:after {
    background-color: var(--accent-color);
}

.appointment-cta-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 400; /* Lighter font weight */
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.btn-cta-primary {
    background: #dc3545; /* Red color */
    border-color: #dc3545; /* Red color */
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-secondary:hover {
    background: var(--light-text);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Clinic Highlights Section */
.highlights-section {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
  color: var(--light-text);
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  background: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.highlight-card h3 {
  color: var(--secondary-color);
}

.highlight-card p {
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Opening Hours Section */
.opening-hours-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hours-compact-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hours-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hours-compact-item {
    background: rgba(3, 152, 158, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hours-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hours-compact-item.closed {
    background: rgba(255, 107, 107, 0.05);
}

.hours-compact-item.closed:hover {
    border-color: var(--accent-color);
}

.day-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.day-hours {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.hours-compact-item.closed .day-name,
.hours-compact-item.closed .day-hours {
    color: var(--accent-color);
}

/* Footer Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-hours h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text);
    text-align: center;
}

.footer-hours h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hours-item .day {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-text);
}

.hours-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-item.closed .day,
.hours-item.closed .time {
    color: var(--accent-color);
}

/* Appointment Form Section */
.appointment-form-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.appointment-form-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

.appointment-form-image {
    border-radius: 10px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.appointment-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.appointment-form .form-control, 
.appointment-form .form-select {
    border-radius: 8px;
    padding: 10px 12px;
    border: 2px solid #e1e5eb;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.appointment-form .form-control:focus, 
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.appointment-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.btn-cta-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

/* Contact Section */
.contact-form .form-control {
  border-radius: 5px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.contact-details-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-detail-item i {
  font-size: 1.2rem;
  margin-top: 5px;
}

.contact-detail-item p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.location-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card .ratio {
  border-radius: 10px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  font-size: 1rem;
}

.footer-top {
  padding: 70px 0 40px 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact-info h5 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--light-text);
  font-size: 1.3rem;
}

@media (max-width: 992px) {
  .appointment-form-section {
    margin-top: 0;
    border-radius: 10px;
  }
  
  .appointment-form-container {
    padding: 25px;
  }
  
  .appointment-form-image {
    max-height: 350px;
  }
  
  .appointment-form .form-label {
    font-size: 0.95rem;
  }
  
  .appointment-form .form-control,
  .appointment-form .form-select {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  
  .appointment-form .btn {
    padding: 10px;
    font-size: 1rem;
}

/* Update button border-radius to have little radius instead of fully rounded */
.btn-cta-red {
  border-radius: 8px !important;
}

/* Global button styles - ensure all buttons have little radius */
.btn {
  border-radius: 8px !important;
/* Update button border-radius to have little radius instead of fully rounded */
.btn-cta-red {
  border-radius: 8px !important;
}

/* Global button styles - ensure all buttons have little radius */
.btn {
  border-radius: 8px !important;
}

/* Update button border-radius to have little radius instead of fully rounded */
.btn-cta-red {
  border-radius: 8px !important;
}

/* Global button styles - ensure all buttons have little radius */
.btn {
  border-radius: 8px !important;
}

/* End of styles */

@media (max-width: 768px) {
  .appointment-form-section {
    padding: 30px 0;
  }
  
  .appointment-form-container {
    padding: 20px;
    margin-bottom: 20px;
  }
  .appointment-form-image {
    max-height: 300px;
    margin-bottom: 20px;
  }
  
  .appointment-form .row {
    flex-direction: column;
  }
  
  .appointment-form .col-md-6,
  .appointment-form .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .appointment-form .form-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .appointment-form .form-control,
  .appointment-form .form-select {
    padding: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .appointment-form .btn {
    padding: 12px;
    font-size: 1rem;
    margin-top: 5px;
  }
}

@media (max-width: 576px) {
  .appointment-form-section {
    padding: 25px 0;
  }
  
  .appointment-form-container {
    padding: 15px;
  }
  
  .appointment-form-image {
    max-height: 250px;
    margin-bottom: 15px;
  }
  
  .appointment-form .form-label {
    font-size: 0.85rem;
  }
  
  .appointment-form .form-control,
  .appointment-form .form-select {
    padding: 6px 8px;
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .appointment-form .btn {
    padding: 10px;
    font-size: 0.95rem;
  }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
  .appointment-form-section {
    padding: 20px 0;
  }
  
  .appointment-form-container {
    padding: 12px;
  }
  
  .appointment-form-image {
    max-height: 200px;
    margin-bottom: 12px;
  }
  
  .appointment-form .form-label {
    font-size: 0.8rem;
  }
  
  .appointment-form .form-control,
  .appointment-form .form-select {
    padding: 5px 7px;
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .appointment-form .btn {
    padding: 8px;
    font-size: 0.9rem;
  }
}


.footer-links h5:after,
.footer-contact-info h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-info i {
  width: 20px;
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-contact-info span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--light-text);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page specific hero sections */
.hero-section.about-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_with_medical_team_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.services-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_sprick_no_nameplate.png') no-repeat right center;
  background-size: cover;
}

.hero-section.team-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_variation_3_1.jpg') no-repeat right center;
  background-size: cover;
}

.hero-section.appointment-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_krause_consultation_no_nameplate.jpg') no-repeat right center;
  background-size: cover;
}

.hero-section.contact-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/clinic-team.jpg') no-repeat right center;
  background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
    font-size: 15px;
  }
  
  .site-header {
    top: 0;
  }
  
  .top-bar {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-feature {
    width: 100%;
  }
  
  .footer-links, .footer-hours {
    margin-bottom: 30px;
  }
  
  .member-image {
    height: 250px;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-cta-primary, .btn-cta-secondary {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  
  /* Why Us Section Responsive */
  .why-us-content-row {
    flex-direction: column;
  }
  
  .why-us-image-col {
    margin-bottom: 40px;
  }
  
  .why-us-image-wrapper {
    max-width: 100%;
  }
  
  .why-us-content {
    max-width: 100%;
    padding: 15px;
  }
  
  .why-us-section .section-title {
    text-align: center;
  }
  
  .why-us-section .section-title:after {
    margin: 15px auto;
  }
  
  /* Contact Section Responsive */
  .contact-details-card,
  .contact-form-card {
    padding: 20px;
  }
  
  .contact-detail-item {
    flex-direction: column;
  }
  
  .contact-detail-item i {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.7rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    height: 50px; /* Fixed height for mobile */
  }
  
  .hero-section {
    padding: 100px 0 80px 0;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-cta, .btn-cta-primary, .btn-cta-secondary {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .member-image {
    height: 200px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Why Us Section Mobile */
  .why-us-point {
    margin-bottom: 15px;
  }
  
  .why-us-point span {
    font-size: 1rem;
  }
  
  .why-us-section .section-title {
    text-align: center;
  }
  
  .why-us-section .section-title:after {
    margin: 15px auto;
  }
  
  /* Contact Section Mobile */
  .contact-details-card,
  .contact-form-card {
    padding: 15px;
  }
  
  .contact-form-card h3,
  .contact-details-card h3 {
    font-size: 1.3rem;
  }
}

/* Button Styles */
.btn-primary {
  background-color: #dc3545; /* Red color */
  border-color: #dc3545; /* Red color */
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-text);
}

/* Why Choose Our Services Section - Services Page */
.services-why-us {
  background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/linic_why_choose_us_section.jpg') no-repeat center center;
  background-size: cover;
  color: var(--light-text);
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  padding: 60px 0;
  margin: 40px 0;
}

.services-why-us .section-title {
  color: white;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-why-us .section-title:after {
  background-color: var(--accent-color);
  margin: 15px auto;
}

.services-why-us .feature-item h4 {
  color: var(--light-text);
}

.services-why-us .feature-item p {
  color: rgba(255, 255, 255, 0.9);
}

.services-why-us .feature-icon-small {
  background: rgba(255, 255, 255, 0.1);
}

.services-why-us .feature-icon-small i {
  color: var(--accent-color);
}

.services-why-us .feature-item:hover {
  transform: translateX(5px);
}

/* Services Main Section */
.services-main-section {
    background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/herobg.png') no-repeat center center;
    background-size: cover;
}

.services-main-section .section-title {
    color: var(--light-text);
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-image {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-card .card-body {
        padding: 20px 15px;
    }
}

.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

.services-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.services-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.services-image:hover {
    transform: scale(1.05);
}

/* Service Detail Row Styles */
.service-detail-row {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.service-detail-row:hover {
    background-color: rgba(3, 152, 158, 0.02);
    border-radius: 15px;
}

/* Service Detail Card Styles */
.service-detail-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.feature-item span {
    margin-left: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Service Image Styles */
.service-image-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-detail-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 5px solid #fff;
}

.service-detail-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for service images */
@media (max-width: 992px) {
    .service-detail-row {
        padding: 15px 0;
    }
    
    .service-detail-row:hover {
        background-color: transparent;
        border-radius: 0;
    }
    
    .service-image-wrapper {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    .service-detail-image {
        border-radius: 10px;
        border: 3px solid #fff;
    }
    
    .service-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Team Section */
.team-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.team-member-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
    z-index: 2;
    position: relative;
}

.team-member-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(3, 152, 158, 0.1);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
}

.member-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}

.member-bio p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.member-qualifications ul {
    text-align: left;
    margin-bottom: 20px;
}

.member-qualifications li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(3, 152, 158, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Alternative Service Card Styles for Services Page */
.service-card-alt {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(3, 152, 158, 0.1);
}

.service-card-alt:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-card-image-top {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.service-card-image-alt {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card-alt:hover .service-card-image-alt {
    transform: scale(1.1) rotate(-2deg);
}

.service-icon-alt {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-size: 3.5rem;
    color: var(--light-text);
}

.service-card-alt .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-alt .card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
    flex-grow: 1;
}

.appointment-form-container .section-title {
    color: var(--secondary-color); /* Changed from default color to secondary color for better visibility */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.service-card-alt .card-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Star Rating */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.rating-stars input[type="radio"]:checked + label,
.rating-stars input[type="radio"]:checked + label ~ label {
    color: #ffc107;
}

/* Testimonials Section */
.testimonial-rating {
  color: #ffc107;
}

.testimonial-card {
  background: var(--light-text);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px) translateZ(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
  position: relative;
}

.testimonial-card:hover::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(3, 152, 158, 0.1);
  border-radius: inherit;
  z-index: -1;
  filter: blur(10px);
}

.testimonial-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 20px;
  text-align: center;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin: 10px 0;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-text);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 15px;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: rgba(3, 152, 158, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: auto;
}

.testimonial-author h5 {
  color: var(--secondary-color);
  font-weight: 700;
}

/* Why Us Section */
.why-us-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.why-us-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.why-us-section .section-title:after {
  margin: 15px auto;
}

.why-us-content-row {
  align-items: center;
}

.why-us-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
  /* Cross-rectangle styling */
  transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.why-us-image-wrapper:hover {
  transform: perspective(800px) rotateY(-10deg) rotateX(3deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-us-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.why-us-image-wrapper:hover .why-us-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(3, 152, 158, 0.7), rgba(26, 46, 53, 0.5));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.why-us-image-wrapper:hover .image-overlay {
  opacity: 0.8;
}

.why-us-text-col {
  display: flex;
  align-items: center;
}

.why-us-content {
  padding: 20px;
  max-width: 500px;
}

.why-us-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.why-us-points {
  margin: 30px 0;
}

.why-us-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-us-point:hover {
  transform: translateX(5px);
}

.why-us-point i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 25px;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.why-us-point:hover i {
  transform: scale(1.2);
}

.why-us-point span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Appointment CTA */
.appointment-cta-section {
    background: white; /* Changed from gradient to white */
    color: var(--dark-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 180, 180, 0.1) 0%, rgba(83, 61, 61, 0) 70%);
    transform: rotate(30deg);
}

.appointment-cta-section .section-title {
    color: white; /* Changed to white for better visibility */
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.appointment-cta-section .section-title:after {
    background-color: var(--accent-color);
}

.appointment-cta-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 400; /* Lighter font weight */
    color: var(--dark-text); /* Changed from light text to dark text for better visibility */
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.btn-cta-primary {
    background: #dc3545; /* Red color */
    border-color: #dc3545; /* Red color */
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-secondary:hover {
    background: var(--light-text);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Clinic Highlights Section */
.highlights-section {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
  color: var(--light-text);
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  background: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.highlight-card h3 {
  color: var(--secondary-color);
}

.highlight-card p {
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Opening Hours Section */
.opening-hours-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hours-compact-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hours-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hours-compact-item {
    background: rgba(3, 152, 158, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hours-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hours-compact-item.closed {
    background: rgba(255, 107, 107, 0.05);
}

.hours-compact-item.closed:hover {
    border-color: var(--accent-color);
}

.day-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.day-hours {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.hours-compact-item.closed .day-name,
.hours-compact-item.closed .day-hours {
    color: var(--accent-color);
}

/* Footer Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-hours h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text);
    text-align: center;
}

.footer-hours h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hours-item .day {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-text);
}

.hours-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-item.closed .day,
.hours-item.closed .time {
    color: var(--accent-color);
}

/* Appointment Form Section */
.appointment-form-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.appointment-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 15px;
}

.appointment-form-image {
    border-radius: 10px;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--light-text);
    transition: all 0.3s ease;
}

.appointment-form-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.appointment-form-container {
    background: var(--light-text);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    border: none;
    height: 100%;
}

.appointment-form-container:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
}

.appointment-form-container:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px 5px rgba(3, 152, 158, 0.4);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}

.appointment-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.appointment-form .form-control, 
.appointment-form .form-select {
    border-radius: 8px;
    padding: 8px 10px;
    border: 2px solid #e1e5eb;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.appointment-form .form-control:focus, 
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.appointment-form .btn {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 5px;
}

.appointment-form .mb-2 {
    margin-bottom: 0.75rem !important;
}

.appointment-form textarea {
    min-height: 80px;
}

/* Benefits Section */
.benefit-card {
    background: var(--light-text);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}

.benefit-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px 5px rgba(3, 152, 158, 0.4);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: rgba(3, 152, 158, 0.2);
}

.benefit-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--dark-text);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.benefit-card:hover p {
    color: #555;
}

/* Testimonials Section */
.testimonial-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    z-index: 2;
    position: relative;
}

.testimonial-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.3;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.3rem;
    margin: 15px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-card .card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .card-text {
    color: var(--secondary-color);
}

.testimonial-card .card-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(3, 152, 158, 0.1);
    position: absolute;
    top: -30px;
    left: -15px;
    font-family: Georgia, serif;
    transition: all 0.3s ease;
}

.testimonial-card:hover .card-text::before {
    color: rgba(3, 152, 158, 0.2);
    transform: scale(1.1);
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
    border-color: var(--primary-color);
}

.testimonial-author h5 {
    color: var(--secondary-color);
    font-weight: 700;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author h5 {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Process Section */
.process-step {
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--light-text);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.process-step:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(3, 152, 158, 0.05), rgba(255, 107, 107, 0.05));
    border-radius: 15px;
}

.process-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(3, 152, 158, 0.3);
}

.process-step:hover .process-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 20px rgba(3, 152, 158, 0.4);
}

.process-step h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.process-step:hover h3 {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.process-step p {
    color: var(--dark-text);
    line-height: 1.7;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.process-step:hover p {
    color: #555;
}

/* FAQ Section */
/* FAQ Section */

/* Contact Section */
.contact-detail-item {
    margin-bottom: 30px;
}

.contact-detail-item p {
    margin-bottom: 15px;
}

/* Floating Feedback Button */
.floating-feedback-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-feedback-btn .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-feedback-btn .btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-feedback-btn .btn i {
    font-size: 24px;
}

/* End of styles */

.accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(3, 152, 158, 0.05);
    box-shadow: 0 5px 15px rgba(3, 152, 158, 0.1);
}

.accordion-button:hover {
    background-color: rgba(3, 152, 158, 0.1);
    transform: translateY(-2px);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.accordion-body {
    color: var(--dark-text);
    line-height: 1.7;
    padding: 1.2rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.accordion-item:last-of-type {
    margin-bottom: 0;
}

/* Contact Section */
.contact-form .form-control {
  border-radius: 5px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.contact-details-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-detail-item i {
  font-size: 1.2rem;
  margin-top: 5px;
}

.contact-detail-item p {
  margin-bottom: 15px;
}

/* End of styles */

.contact-form-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.contact-form-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.contact-details-card h3 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.location-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card .ratio {
  border-radius: 10px;
  overflow: hidden;
}

/* Tabs Section */
.tabs-section {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.tab-container {
    background: var(--light-text);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.nav-tabs {
    border-bottom: 2px solid var(--primary-color);
    background: rgba(3, 152, 158, 0.05);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--dark-text);
    font-weight: 600;
    padding: 15px 25px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(3, 152, 158, 0.1);
}

.nav-tabs .nav-link.active {
    color: var(--light-text);
    background: var(--primary-color);
    border: none;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    padding: 20px 0;
}

/* Enhanced Testimonial Card Design */
.testimonial-card {
    background: linear-gradient(135deg, var(--light-text), #f8f9fa);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    background-clip: border-box;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    z-index: 2;
    position: relative;
}

.testimonial-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.3;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    opacity: 0.5;
    transform: scale(1.1);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding: 0 20px;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.testimonial-card:hover .testimonial-text {
    color: var(--secondary-color);
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(3, 152, 158, 0.1);
    position: absolute;
    top: -30px;
    left: -15px;
    font-family: Georgia, serif;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-text::before {
    color: rgba(3, 152, 158, 0.2);
    transform: scale(1.1);
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: auto;
    transition: all 0.3s ease;
    text-align: right;
}

.testimonial-card:hover .testimonial-author {
    border-color: var(--primary-color);
}

.testimonial-author h5 {
    color: var(--secondary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.testimonial-card:hover .testimonial-author h5 {
    color: var(--primary-color);
    transform: translateX(5px);
}

.testimonial-author small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Appointment Form Section - Improved visibility */
.appointment-form-section {
    background: linear-gradient(135deg, var(--primary-color), #027a82);
    color: var(--light-text);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin: 40px 0;
}

.appointment-form-section .section-title {
    color: var(--light-text) !important;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.appointment-form-section .section-title:after {
    background-color: var(--accent-color);
    margin: 15px auto;
}

.appointment-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.appointment-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.appointment-info i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .testimonial-text::before {
        font-size: 3rem;
        top: -20px;
        left: -10px;
    }
}

@media (max-width: 576px) {
    .tabs-section {
        padding: 30px 0;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .tab-content {
        padding: 15px 10px;
    }
    
    .testimonial-card {
        padding: 15px 10px;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-rating {
        font-size: 1.1rem;
    }
}

/* End of styles */

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  font-size: 1rem;
}

.footer-top {
  padding: 70px 0 40px 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact-info h5 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--light-text);
  font-size: 1.3rem;
}

.footer-links h5:after,
.footer-contact-info h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-info i {
  width: 20px;
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-contact-info span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--light-text);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page specific hero sections */
.hero-section.about-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_with_medical_team_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.services-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_sprick_no_nameplate.png') no-repeat right center;
  background-size: contain;
}

.hero-section.team-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_variation_3_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.appointment-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_krause_consultation_no_nameplate.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.contact-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/clinic-team.jpg') no-repeat right center;
  background-size: contain;
}

/* Responsive Design */
@media (max-width: 992px) {
  .top-bar-left,
  .top-bar-right {
    gap: 10px;
  }
  
  .top-bar-contact span {
    font-size: 0.8rem;
  }
  
  .top-bar-social a {
    font-size: 1rem;
  }
  
  .hero-section {
    background-position: center center;
    padding-top: 160px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
    height: 55px;
  }
  
  .hero-features {
    gap: 10px;
  }
  
  .hero-feature {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .hero-feature i {
    font-size: 1.1rem;
    margin-right: 8px;
  }
}

@media (max-width: 992px) {
  .service-card,
  .team-member-card,
  .highlight-card,
  .testimonial-card {
    margin-bottom: 20px;
  }
  
  .service-card .card-body,
  .team-member-card .card-body,
  .testimonial-card .card-body {
    padding: 20px 15px;
  }
  
  .highlight-card {
    padding: 25px 15px;
  }
  
  .member-image-wrapper {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .service-card,
  .team-member-card,
  .highlight-card,
  .testimonial-card {
    margin-bottom: 25px;
  }
  
  .service-card .card-body,
  .team-member-card .card-body,
  .testimonial-card .card-body {
    padding: 20px;
  }
  
  .highlight-card {
    padding: 20px 15px;
  }
  
  .card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .card-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .member-image-wrapper {
    height: 220px;
  }
  
  .member-name {
    font-size: 1.3rem;
  }
  
  .member-title {
    font-size: 1rem;
  }
  
  .highlight-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .highlight-card h3 {
    font-size: 1.2rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .hours-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .service-card,
  .team-member-card,
  .highlight-card,
  .testimonial-card {
    margin-bottom: 20px;
  }
  
  .service-card .card-body,
  .team-member-card .card-body,
  .testimonial-card .card-body {
    padding: 15px;
  }
  
  .highlight-card {
    padding: 20px 10px;
  }
  
  .card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .card-text {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  
  .member-image-wrapper {
    height: 200px;
  }
  
  .member-name {
    font-size: 1.2rem;
  }
  
  .member-title {
    font-size: 0.95rem;
  }
  
  .highlight-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .highlight-card h3 {
    font-size: 1.1rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
  
  .hours-compact-grid {
    grid-template-columns: 1fr;
  }
  
  .day-name {
    font-size: 1rem;
  }
  
  .day-hours {
    font-size: 0.9rem;
  }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
  .service-card,
  .team-member-card,
  .highlight-card,
  .testimonial-card {
    margin-bottom: 15px;
  }
  
  .service-card .card-body,
  .team-member-card .card-body,
  .testimonial-card .card-body {
    padding: 12px;
  }
  
  .highlight-card {
    padding: 15px 8px;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .card-text {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .member-image-wrapper {
    height: 180px;
  }
  
  .member-name {
    font-size: 1.1rem;
  }
  
  .member-title {
    font-size: 0.9rem;
  }
  
  .highlight-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  
  .highlight-card h3 {
    font-size: 1rem;
  }
  
  .testimonial-text {
    font-size: 0.85rem;
  }
}
/* Button Styles */
.btn-primary {
  background-color: #dc3545; /* Red color */
  border-color: #dc3545; /* Red color */
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-text);
}

/* Why Choose Our Services Section - Services Page */
.services-why-us {
  background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/linic_why_choose_us_section.jpg') no-repeat center center;
  background-size: cover;
  color: var(--light-text);
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  padding: 60px 0;
  margin: 40px 0;
}

.services-why-us .section-title {
  color: white;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-why-us .section-title:after {
  background-color: var(--accent-color);
  margin: 15px auto;
}

.services-why-us .feature-item h4 {
  color: var(--light-text);
}

.services-why-us .feature-item p {
  color: rgba(255, 255, 255, 0.9);
}

.services-why-us .feature-icon-small {
  background: rgba(255, 255, 255, 0.1);
}

.services-why-us .feature-icon-small i {
  color: var(--accent-color);
}

.services-why-us .feature-item:hover {
  transform: translateX(5px);
}

/* Services Main Section */
.services-main-section {
    background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/herobg.png') no-repeat center center;
    background-size: cover;
}

.services-main-section .section-title {
    color: var(--light-text);
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-image {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-card .card-body {
        padding: 20px 15px;
    }
}

.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

.services-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.services-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.services-image:hover {
    transform: scale(1.05);
}

/* Service Detail Row Styles */
.service-detail-row {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.service-detail-row:hover {
    background-color: rgba(3, 152, 158, 0.02);
    border-radius: 15px;
}

/* Service Detail Card Styles */
.service-detail-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.feature-item span {
    margin-left: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Service Image Styles */
.service-image-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-detail-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 5px solid #fff;
}

.service-detail-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for service images */
@media (max-width: 992px) {
    .service-detail-row {
        padding: 15px 0;
    }
    
    .service-detail-row:hover {
        background-color: transparent;
        border-radius: 0;
    }
    
    .service-image-wrapper {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    .service-detail-image {
        border-radius: 10px;
        border: 3px solid #fff;
    }
    
    .service-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Team Section */
.team-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.team-member-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
    z-index: 2;
    position: relative;
}

.team-member-card:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(3, 152, 158, 0.1);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
}

.member-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}

.member-bio p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.member-qualifications ul {
    text-align: left;
    margin-bottom: 20px;
}

.member-qualifications li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(3, 152, 158, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Why Us Section */
.why-us-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.why-us-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.why-us-section .section-title:after {
  margin: 15px auto;
}

.why-us-content-row {
  align-items: center;
}

.why-us-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
  /* Cross-rectangle styling */
  transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.why-us-image-wrapper:hover {
  transform: perspective(800px) rotateY(-10deg) rotateX(3deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-us-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.why-us-image-wrapper:hover .why-us-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
}

/* Testimonials Section */
.testimonial-rating {
  color: #ffc107;
}

.testimonial-author {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.testimonial-author h5 {
  color: var(--secondary-color);
}

/* Enhanced Testimonial Cards */
.testimonial-card {
  background: var(--light-text);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: none;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 15px 30px rgba(3, 152, 158, 0.3);
  z-index: 2;
}

.testimonial-card:hover::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(3, 152, 158, 0.1);
  border-radius: inherit;
  z-index: -1;
  filter: blur(10px);
}

.testimonial-card .card-body {
  padding: 30px;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 20px;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 15px;
}

.testimonial-rating {
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--dark-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.testimonial-author {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  margin-top: auto;
}

.testimonial-author h5 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-author small {
  color: #6c757d;
  font-size: 0.9rem;
}

.why-us-image-wrapper:hover .image-overlay {
  opacity: 0.8;
}

.why-us-text-col {
  display: flex;
  align-items: center;
}

.why-us-content {
  padding: 20px;
  max-width: 500px;
}

.why-us-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.why-us-points {
  margin: 30px 0;
}

.why-us-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-us-point:hover {
  transform: translateX(5px);
}

.why-us-point i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 25px;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.why-us-point:hover i {
  transform: scale(1.2);
}

.why-us-point span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Appointment CTA */
.appointment-cta-section {
    background: white; /* Changed from gradient to white */
    color: var(--dark-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.appointment-cta-section .section-title {
    color: white; /* Changed to white for better visibility */
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.appointment-cta-section .section-title:after {
    background-color: var(--accent-color);
}

.appointment-cta-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 400; /* Lighter font weight */
    color: var(--dark-text); /* Changed from light text to dark text for better visibility */
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.btn-cta-primary {
    background: #dc3545; /* Red color */
    border-color: #dc3545; /* Red color */
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-cta-secondary:hover {
    background: var(--light-text);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Clinic Highlights Section */
.highlights-section {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
  color: var(--light-text);
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  background: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.highlight-card h3 {
  color: var(--secondary-color);
}

.highlight-card p {
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Opening Hours Section */
.opening-hours-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hours-compact-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hours-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hours-compact-item {
    background: rgba(3, 152, 158, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hours-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hours-compact-item.closed {
    background: rgba(255, 107, 107, 0.05);
}

.hours-compact-item.closed:hover {
    border-color: var(--accent-color);
}

.day-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.day-hours {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.hours-compact-item.closed .day-name,
.hours-compact-item.closed .day-hours {
    color: var(--accent-color);
}

/* Footer Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-hours h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text);
    text-align: center;
}

.footer-hours h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hours-item .day {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-text);
}

.hours-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-item.closed .day,
.hours-item.closed .time {
    color: var(--accent-color);
}

/* Appointment Form Section */
.appointment-form-section {
    background: linear-gradient(135deg, var(--secondary-color), #2a3e4f);
    color: var(--light-text);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.appointment-form-container {
    background: var(--light-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

.appointment-form-image {
    border-radius: 10px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.appointment-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.appointment-form .form-control, 
.appointment-form .form-select {
    border-radius: 8px;
    padding: 10px 12px;
    border: 2px solid #e1e5eb;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.appointment-form .form-control:focus, 
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.appointment-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.btn-cta-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 152, 158, 0.5);
    color: var(--light-text);
}

/* Contact Section */
.contact-form .form-control {
  border-radius: 5px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(3, 152, 158, 0.25);
}

.contact-details-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-detail-item i {
  font-size: 1.2rem;
  margin-top: 5px;
}

.contact-detail-item p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--light-text);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
}

.location-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card .ratio {
  border-radius: 10px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  font-size: 1rem;
}

.footer-top {
  padding: 70px 0 40px 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact-info h5 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--light-text);
  font-size: 1.3rem;
}

.footer-links h5:after,
.footer-contact-info h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-info i {
  width: 20px;
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-contact-info span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--light-text);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page specific hero sections */
.hero-section.about-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_with_medical_team_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.services-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_sprick_no_nameplate.png') no-repeat right center;
  background-size: contain;
}

.hero-section.team-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/doctor_variation_3_1.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.appointment-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/linic_frau_krause_consultation_no_nameplate.jpg') no-repeat right center;
  background-size: contain;
}

.hero-section.contact-hero {
  background: linear-gradient(rgba(26, 46, 53, 0.7), rgba(26, 46, 53, 0.8)), url('../images/clinic-team.jpg') no-repeat right center;
  background-size: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
    font-size: 15px;
  }
  
  .site-header {
    top: 0;
  }
  
  .top-bar {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-feature {
    width: 100%;
  }
  
  .footer-links, .footer-hours {
    margin-bottom: 30px;
  }
  
  .member-image {
    height: 250px;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-cta-primary, .btn-cta-secondary {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  
  /* Why Us Section Responsive */
  .why-us-content-row {
    flex-direction: column;
  }
  
  .why-us-image-col {
    margin-bottom: 40px;
  }
  
  .why-us-image-wrapper {
    max-width: 100%;
  }
  
  .why-us-content {
    max-width: 100%;
    padding: 15px;
  }
  
  .why-us-section .section-title {
    text-align: center;
  }
  
  .why-us-section .section-title:after {
    margin: 15px auto;
  }
  
  /* Contact Section Responsive */
  .contact-details-card,
  .contact-form-card {
    padding: 20px;
  }
  
  .contact-detail-item {
    flex-direction: column;
  }
  
  .contact-detail-item i {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.7rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    height: 50px; /* Fixed height for mobile */
  }
  
  .hero-section {
    padding: 100px 0 80px 0;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-cta, .btn-cta-primary, .btn-cta-secondary {
    padding: 12px 30px;
    font-size: 1rem;
    width: 90%;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 500; /* Reduced font weight */
  }
  
  .member-image {
    height: 200px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Why Us Section Mobile */
  .why-us-point {
    margin-bottom: 15px;
  }
  
  .why-us-point span {
    font-size: 1rem;
  }
  
  .why-us-section .section-title {
    text-align: center;
  }
  
  .why-us-section .section-title:after {
    margin: 15px auto;
  }
  
  /* Contact Section Mobile */
  .contact-details-card,
  .contact-form-card {
    padding: 15px;
  }
  
  .contact-form-card h3,
  .contact-details-card h3 {
    font-size: 1.3rem;
  }
}

/* Button Styles */
.btn-primary {
  background-color: #dc3545; /* Red color */
  border-color: #dc3545; /* Red color */
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-text);
}

/* Why Choose Our Services Section - Services Page */
.services-why-us {
  background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/linic_why_choose_us_section.jpg') no-repeat center center;
  background-size: cover;
  color: var(--light-text);
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  padding: 60px 0;
  margin: 40px 0;
}

.services-why-us .section-title {
  color: white;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-why-us .section-title:after {
  background-color: var(--accent-color);
  margin: 15px auto;
}

.services-why-us .feature-item h4 {
  color: var(--light-text);
}

.services-why-us .feature-item p {
  color: rgba(255, 255, 255, 0.9);
}

.services-why-us .feature-icon-small {
  background: rgba(255, 255, 255, 0.1);
}

.services-why-us .feature-icon-small i {
  color: var(--accent-color);
}

.services-why-us .feature-item:hover {
  transform: translateX(5px);
}

/* Services Main Section */
.services-main-section {
    background: linear-gradient(rgba(26, 46, 53, 0.85), rgba(26, 46, 53, 0.9)), url('../images/herobg.png') no-repeat center center;
    background-size: cover;
}

.services-main-section .section-title {
    color: var(--light-text);
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-image {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-card .card-body {
        padding: 20px 15px;
    }
}

.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

.services-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.services-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.services-image:hover {
    transform: scale(1.05);
}

/* Service Detail Row Styles */
.service-detail-row {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.service-detail-row:hover {
    background-color: rgba(3, 152, 158, 0.02);
    border-radius: 15px;
}

/* Service Detail Card Styles */
.service-detail-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.feature-item span {
    margin-left: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Service Image Styles */
.service-image-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-detail-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 5px solid #fff;
}

.service-detail-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for service images */
@media (max-width: 992px) {
    .service-detail-row {
        padding: 15px 0;
    }
    
    .service-detail-row:hover {
        background-color: transparent;
        border-radius: 0;
    }
    
    .service-image-wrapper {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    .service-detail-image {
        border-radius: 10px;
        border: 3px solid #fff;
    }
    
    .service-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Team Section - Modern Redesign */
.team-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
}

.team-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.team-section .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.2);
}

.team-section .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 152, 158, 0.3);
}

.featured-doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    border: none;
}

.featured-doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(3, 152, 158, 0.2);
}

.featured-doctor-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

.featured-doctor-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 0.5s ease;
}

.featured-doctor-card:hover .featured-doctor-image {
    transform: scale(1.05);
}

.featured-doctor-info {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-doctor-name {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    position: relative;
}

.featured-doctor-name:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.featured-doctor-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0 0 25px 0;
}

.featured-doctor-bio p {
    color: var(--dark-text);
    line-height: 1.8;
    margin: 0 0 30px 0;
    font-size: 1.1rem;
}

.featured-doctor-qualifications ul {
    text-align: left;
    margin-bottom: 30px;
}

.featured-doctor-qualifications li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.featured-doctor-qualifications li i {
    margin-right: 12px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.featured-doctor-social {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: auto;
}

.featured-doctor-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(3, 152, 158, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.featured-doctor-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(3, 152, 158, 0.3);
}

.assistant-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    text-align: center;
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
}

.assistant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(3, 152, 158, 0.15);
}

.assistant-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.assistant-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 0.5s ease;
}

.assistant-card:hover .assistant-image {
    transform: scale(1.1);
}

.assistant-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.assistant-name {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 0 12px 0;
}

.assistant-title {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1rem;
    margin: 0 0 15px 0;
}

.assistant-title ul {
    text-align: left;
    margin: 10px 0 0 0;
    padding: 0;
}

.assistant-title li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.assistant-title li i {
    margin-right: 8px;
    margin-top: 4px;
    color: #dc3545; /* Red color for ticks */
}

/* Why Us Section - Modern Redesign */
.why-us-section {
    background: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.why-us-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.why-us-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.why-us-content-row {
    align-items: center;
}

.why-us-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-us-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 550px;
    transition: all 0.4s ease;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
}

.why-us-image-wrapper:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.why-us-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.why-us-image-wrapper:hover .why-us-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(3, 152, 158, 0.2), rgba(26, 46, 53, 0.1));
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.why-us-content {
    padding: 0 30px;
}

.why-us-content p {
    color: var(--dark-text);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.why-us-points {
    margin-bottom: 30px;
}

.why-us-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.why-us-point i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-right: 15px;
    margin-top: 5px;
}

.why-us-point span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    line-height: 1.6;
}

.why-us-content .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(3, 152, 158, 0.3);
}

.why-us-content .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(3, 152, 158, 0.4);
}

/* Appointment CTA */
.appointment-cta-section {
    background: var(--light-bg);
    color: var(--dark-text);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-cta-section .cta-content {
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

.appointment-cta-section .cta-header {
    margin-bottom: 30px;
}

.appointment-cta-section .cta-body {
    margin-bottom: 40px;
}

.appointment-cta-section .section-title {
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 2.5rem;
}

.appointment-cta-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.appointment-cta-section .lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 45px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    line-height: 1.8;
    font-weight: 400;
    color: var(--dark-text);
}

.cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(3, 152, 158, 0.3);
    text-transform: none;
    letter-spacing: normal;
}

.btn-cta-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 46, 53, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    text-transform: none;
    letter-spacing: normal;
}

.btn-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(3, 152, 158, 0.3);
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
    .appointment-cta-section {
        padding: 70px 0;
    }
    
    .appointment-cta-section .cta-content {
        padding: 40px 30px;
    }
    
    .appointment-cta-section .section-title {
        font-size: 2rem;
    }
    
    .appointment-cta-section .lead {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .appointment-cta-section {
        padding: 50px 0;
    }
    
    .appointment-cta-section .cta-content {
        padding: 30px 20px;
    }
    
    .appointment-cta-section .section-title {
        font-size: 1.8rem;
    }
    
    .appointment-cta-section .lead {
        font-size: 1rem;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Appointment Form Section - Modern Redesign */
.appointment-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-text);
    padding: 100px 0 70px 0;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    z-index: 10;
}

.appointment-form-container {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
}

.appointment-form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.appointment-form-container .section-title {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.appointment-form-container .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.appointment-form-image {
    border-radius: 20px;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
/* End of styles */
