/* CRITICAL CSS - Above the fold optimizations */
/* Preload font display for faster text rendering */
@font-face {
  font-family: "Inter";
  font-display: swap;
}

/* Critical layout styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Optimize rendering */
body {
  will-change: scroll-position;
}

/* Global Styles */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: #222;
  background-color: #f4f4f4;
}

h1 {
  font-size: 3.2em;
  margin-bottom: 0.6em;
  color: white;
}

h2 {
  font-size: 2em;
  margin-bottom: 0.8em;
  color: #1e3a8a;
}

h3 {
  font-size: 1.8em;
  margin-bottom: 0.7em;
  color: #2563eb;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 1.6em;
  }

  h3 {
    font-size: 1.5em;
  }
}

a {
  text-decoration: none;
  color: #2563eb;
}

ul {
  list-style: none;
}

li {
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 768px) {
  p {
    font-size: 0.95em;
  }
}

.btn {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  border: 1px solid #2563eb;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
  background-color: #1d4ed8;
  color: white;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-left: 20px; /* Space between buttons */
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Header and Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 5px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.logo {
  transition: all 0.3s ease;
}

.logo img {
  height: 40px; /* Adjust as needed */
  width: auto;
}

header.scrolled .logo {
  font-size: 22px;
}

header.scrolled .logo img {
  height: 30px; /* Adjust as needed for scrolled state */
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #1d4ed8;
}

/* Subpage Content */

/* Privacy Policy Specific Styles */
.privacy-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: white;
}

.privacy-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #2d3748;
  line-height: 1.625;
}

.privacy-h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

.privacy-h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2563eb;
}

.privacy-paragraph {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #444;
}
.subpage-content {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.subpage-content h1 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 40px;
}

.content-container {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.content-container h2 {
  color: #1e3a8a;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e7ff;
  padding-bottom: 10px;
  text-align: left;
}
/* Container for general content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-container h3 {
  color: #2563eb;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
}

/* Styling for definition lists (dl, dt, dd) within content-container */
.content-container dl {
  margin-top: 20px;
  margin-bottom: 20px;
}

.content-container dt {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.1em;
}

.content-container dd {
  margin-bottom: 10px;
}

.table-of-contents {
  background-color: #f9f9f9;
  border-left: 4px solid #2563eb;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.table-of-contents h3 {
  color: #1e3a8a;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0;
}

.table-of-contents ul li {
  margin-bottom: 8px;
}

.table-of-contents ul li a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.table-of-contents ul li a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.table-of-contents ul ul {
  padding-left: 20px;
  margin-top: 5px;
}

/* Back to Top Button */
#back-to-top {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 30px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button at the right side */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #2563eb; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

#back-to-top:hover {
  background-color: #1d4ed8; /* Add a darker background on hover */
  transform: translateY(-2px);
}

.content-container p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #333;
}

.content-container strong {
  font-weight: 600;
  color: #1e3a8a;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2563eb;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 400px;
  position: relative;
  background: url("https://drpeter.vercel.app/_next/image?url=%2Fimages%2Fheader_main_index.jpg&w=3840&q=100");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-box {
  position: absolute;
  top: 70px;
  right: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 15px;
  border: 1px solid white;
}

@media (max-width: 768px) {
  .hero {
    height: 600px;
  }

  .rating-box {
    top: 80px;
    right: 20px;
    border-radius: 5px;
  }

  .hero h1 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
  }

  .hero-content {
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 15px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

.career-section {
  margin-bottom: 60px;
}

.career-list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.career-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
}

.career-list li {
  margin-bottom: 2em;
  position: relative;
  width: 50%;
  padding: 15px 20px;
  box-sizing: border-box;
}

.career-list li:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 40px;
}

.career-list li:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 40px;
}

.career-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  width: 16px;
  height: 16px;
  background-color: #2563eb;
  border-radius: 50%;
  border: 2px solid white;
  z-index: 1;
}

.career-list li:nth-child(odd)::before {
  right: -8px;
  transform: translateX(50%);
}

.career-list li:nth-child(even)::before {
  left: -8px;
  transform: translateX(-50%);
}

.timeline-year {
  font-weight: bold;
  color: #1e3a8a;
  display: block;
  margin-bottom: 5px;
}

.timeline-description {
  color: #333;
}

@media (max-width: 768px) {
  .career-list::before {
    left: 20px;
  }

  .career-list li {
    width: 100%;
    left: 0 !important;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left !important;
  }

  .career-list li::before {
    left: 12px;
    transform: translateX(0) !important;
  }

  .career-list li:nth-child(odd)::before {
    right: auto;
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.rating-box .stars {
  color: #ffd700; /* Gold color for stars */
  font-size: 18px;
}

.rating-box .text {
  font-weight: bold;
}

.hero-content {
  max-width: 800px; /* Adjusted max-width for better fit */
  margin: 0 auto;
  text-align: center;
  padding: 0 20px; /* Add some horizontal padding */
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: 1.3em;
  margin-bottom: 2em;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Services Section */
.services {
  padding: 80px 20px;
  background-color: #f0f4ff;
  text-align: center;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #1e3a8a;
}

.service-item h2 {
  color: white;
}
.service-item h2 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.service-item h3 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.service-item p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Subpage Content */
.subpage-content {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  margin-bottom: 40px;
}

.subpage-content h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.subpage-content .intro-text {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .about-section {
    flex-direction: row;
    text-align: center;
  }
}

.about-section .about-image {
  flex: 1;
  min-width: 300px;
}

.about-section .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-section .about-text {
  flex: 2;
}

.about-section .about-text h2 {
  font-size: 2.5em;
  color: #1e3a8a;
  margin-bottom: 20px;
  .about-section .about-text p {
    font-size: 1em;
    line-height: 1.7;
    color: #444;
  }
  margin-bottom: 15px;
}

/* Career Section */
.career-section {
  background-color: #f9faff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 80px;
}

.career-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

.career-list {
  list-style: none;
  padding: 0;
}

.career-list li {
  background-color: #eef4ff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #2563eb;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Philosophy Section */
.philosophy-section {
  margin-bottom: 80px;
}

.philosophy-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .philosophy-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.philosophy-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.philosophy-card h3 {
  color: #2563eb;
  margin-bottom: 15px;
}

.philosophy-card p {
  color: #555;
}

/* Team Section */
.team-section {
  margin-bottom: 80px;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-member {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 767px) {
  .team-member {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.team-member h3 {
  color: #2563eb;
  margin-bottom: 10px;
}

.team-member p {
  color: #555;
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 80px;
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

.gallery {
  background-color: #eef4ff;
  padding: 50px;
  border-radius: 8px;
  text-align: center;
  color: #666;
  font-size: 1.2em;
  border: 2px dashed #c0d8ff;
}

/* FAQ Section */
.faq {
  padding: 80px 20px;
  background-color: #ffffff;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background-color: #f7fafc;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #edf2f7;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: #1e3a8a;
}

.faq-question .icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Increased to accommodate more content */
  padding: 15px 25px 25px;
}

.faq-answer p {
  margin: 0;
  color: #4a5568;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background-color: #333;
  color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.service-item * {
  position: relative;
  z-index: 2;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  font-size: 22px !important;
  margin-bottom: 10px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.service-item p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.4);
}

.service-item.sportmedizin {
  background-image: url("images/sportmedizin.png") !important;
}

.service-item.chirotherapie {
  background-image: url("images/Chiropractic.png") !important;
}

.service-item.hyaluronsaeure {
  background-image: url("images/Hyaluronic-Acid-Therapy.png") !important;
}

.service-item.stosswelle {
  background-image: url("images/eswt.png") !important;
}

.service-item.akupunktur {
  background-image: url("images/Acupuncture.png") !important;
}

.service-item.neuraltherapie {
  background-image: url("images/Neuraltherapie.png") !important;
}

.service-item.diagnostik {
  background-image: url("images/Physical-Therapy.png") !important;
}

.contact-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials Section */
.testimonials {
  background-color: #e0e7ff;
  padding: 80px 20px;
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #1e3a8a;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px; /* Ensure consistent height */
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.testimonial-author {
  font-weight: 600;
  color: #2563eb;
  margin-top: 10px;
}

.testimonial-card .stars {
  color: #f1d600; /* Gold color for stars */
  font-size: 20px;
  margin-bottom: 10px;
}

/* CTA Section */
.cta {
  background-color: #1e3a8a;
  color: white !important;
  padding: 80px 20px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  color: white !important;
  margin: 0 auto;
}

.cta h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: white;
}

.cta .btn {
  background-color: white;
  color: #1e3a8a;
}

.cta .btn:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

/* About Section */
.about {
  padding: 80px 20px;
  max-width: 100vw;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  margin-bottom: 10px;
}

.about-text h3 {
  margin-bottom: 20px;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 20px;
}

.qualifications {
  margin-top: 30px;
}

.qualifications h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.qualifications ul {
  list-style: disc;
  margin-left: 20px;
}

.qualifications li {
  margin-bottom: 0.3em;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.address p,
.hours p {
  margin-bottom: 10px;
}

.hours h3 {
  margin-bottom: 15px;
  color: #0056b3;
}

.note {
  font-style: italic;
  margin-top: 15px;
}

.contact-form-container {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
  margin-bottom: 20px;
  text-align: center;
  color: #0056b3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s;
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }
  border-color: #0077cc;
  box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.2);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.submit-btn {
  margin-top: 10px;
  align-self: flex-start;
}

.form-status {
  margin-top: 15px;
  font-weight: 500;
  min-height: 24px;
  padding: 10px 0;
}

.form-status .loading {
  color: #0077cc;
  background-color: #e6f7ff;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 4px solid #0077cc;
}

.form-status.success,
.form-status .success {
  color: #28a745;
  background-color: #e8f5e9;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 4px solid #28a745;
}

.form-status.error,
.form-status .error {
  color: #dc3545;
  background-color: #ffebee;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 4px solid #dc3545;
}

.form-status .error ul {
  margin-top: 5px;
  margin-left: 20px;
  list-style-type: disc;
}

.map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Day Selector */
.day-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.day-selector label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-selector label:hover {
  background-color: #f0f4f8;
}

.day-selector input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Subpage Styles */
.subpage-content {
  max-width: 1200px;
  margin: 120px auto 80px;
  padding: 0 20px;
}

.content-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
}

.service-description {
  padding: 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-description h2 {
  color: #1e3a8a;
  margin-bottom: 20px;
}

.service-description h3 {
  color: #2563eb;
  margin: 25px 0 15px;
}

.service-description p {
  margin-bottom: 1em;
}

.service-list {
  margin-left: 20px;
  margin-bottom: 20px;
  .service-list li {
    margin-bottom: 0.6em;
    position: relative;
  }
  padding-left: 5px;
}

.service-description .cta-box {
  background-color: #dbeafe;
  margin-top: 40px;
  padding: 30px;
}

.intro-text {
  font-size: 18px;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.map-section {
  margin-top: 60px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-card-content {
  padding: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 20px;
  color: #4b5563;
}

.service-image {
  height: auto;
  max-width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-section {
  margin-top: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-photo {
  height: 250px;
  background-color: #e5e7eb;
  background-size: cover;
  background-position: center;
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  margin-bottom: 5px;
}

.team-info p {
  color: #4b5563;
  margin-bottom: 10px;
}

.gallery-section {
  margin-top: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  height: 200px;
  background-color: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.cta-box {
  background-color: #e0e7ff;
  border-radius: 8px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 15px;
}

.cta-box p {
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: #1e293b;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

footer a {
  color: #93c5fd;
}

footer p {
  margin-bottom: 1em;
  font-size: 0.9em;
  color: white;
}

/* Animation Styles */
.fade-in,
.slide-in-left,
.slide-in-right,
.scale-in,
.stagger-item {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
  transform: translateY(20px);
}

.slide-in-left {
  transform: translateX(-50px);
}

.slide-in-right {
  transform: translateX(50px);
}

.scale-in {
  transform: scale(0.9);
}

.stagger-item {
  transform: translateX(20px);
  transition-delay: calc(var(--index) * 0.1s);
}

/* Animated state */
.fade-in.animated,
.slide-in-left.animated,
.slide-in-right.animated,
.scale-in.animated,
.stagger-item.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

.stagger-item.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  h2,
  .services h2,
  .testimonials h2,
  .cta h2,
  .contact h2 {
    font-size: 30px;
  }

  .about-content,
  .service-cards,
  .testimonial-cards,
  .contact-container,
  .contact-info,
  .content-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .hero p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
  }

  .service-card,
  .testimonial-card {
    padding: 20px;
  }

  .contact-form-container {
    margin-top: 30px;
  }

  /* Cookie banner mobile fix */
  .cc-window {
    z-index: 9999 !important;
  }
}

/* Floating Call Button */
.floating-call-btn {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .floating-call-btn {
    display: flex !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    z-index: 99999 !important;
    transition: all 0.3s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
  
  .floating-call-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
  }
  
  .floating-call-btn svg {
    width: 28px;
    height: 28px;
  }
}
