/* === CSS Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  box-sizing: border-box;
}

@font-face {
  font-family: "Main";
  src: url(assets/fonts/Dimica-Light.otf) format("opentype");
}
/* Alifinart Studio” (behance.net/alifinart) */
@font-face {
  font-family: "Secondary";
  src: url(assets/fonts/SalmaproMediumnarrow.otf) format("opentype");
}

@font-face {
  font-family: "Accessory";
  src: url(assets/fonts/Praise-Regular.ttf) format("truetype");
}

html,
body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

body {
  margin: 0;
  font-family: "Main";
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(120deg, #e6e4db 0%, #ceafcb 45%, #f3cfdc 100%);
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    transparent 70%
  );
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(18, 18, 38, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  margin: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white 0.8px, transparent 0.8px),
    radial-gradient(white 0.6px, transparent 0.6px);
  background-size: 40px 40px, 100px 100px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.logo {
  font-family: "Main";
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  z-index: 1;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 11;
}

/* Nav Links - Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.contact-button {
  padding: 0.6rem 1.2rem;
  background-color: #8fa7e3;
  color: #fff;
  border-radius: 24px;
  font-weight: bold;
  border: none;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #ffffff;
  color: #8fa7e3;
}

/* === Responsive Navbar Additions === */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    margin: 1rem;
    gap: 0.75rem;
  }

  .navbar-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.4rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-weight: bold;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 11;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

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

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    color: #ffffff;
  }

  .contact-button {
    background-color: #8fa7e3;
    padding: 0.75rem 1.5rem; /* More horizontal space */
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1rem;
    display: inline-block;
    line-height: 1.3;
    white-space: nowrap;
  }
}




/* === Services Intro Section === */
/* === Services Intro Section === */
.services-intro {
  display: flex;
  flex-wrap: nowrap; /* prevent stacking */
  justify-content: space-between;
  align-items: center;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 2px solid #e9e6f5;
  gap: 2rem;
}

.intro-left {
  flex: 1 1 50%;
  min-width: 0; /* prevents overflow on smaller screens */
}

.intro-left h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #462c8e;
  line-height: 1.3;
  margin-bottom: 1rem;
  position: relative;
}

.intro-left h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #8e8dcf, #cd90b3);
  margin-top: 0.8rem;
  border-radius: 2px;
}

.intro-right {
  flex: 1 1 50%;
  text-align: right;
  min-width: 0; /* prevents content from pushing layout */
}

.intro-right p {
  font-size: 1.15rem;
  color: #5a4a99;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  padding: 0.8rem 1rem;
  font-style: italic;
  transition: transform 0.3s ease;
}

.intro-right p:hover {
  transform: translateY(-3px);
}

/* === Mobile Adjustments: keep side-by-side but scale === */
@media screen and (max-width: 768px) {
  .services-intro {
    flex-wrap: nowrap; /* force side-by-side */
    gap: 1rem; 
    padding: 2rem 1rem;
  }

  .intro-left h1 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .intro-left h1::after {
    width: 40px;
    height: 3px;
    margin-top: 0.4rem;
  }

  .intro-right p {
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 100%;
    padding: 0.6rem;
  }
}

/* Tiny screens */
@media screen and (max-width: 480px) {
  .services-intro {
    padding: 1.5rem 0.6rem;
    gap: 0.6rem;
  }

  .intro-left h1 {
    font-size: 1.4rem;
  }

  .intro-right p {
    font-size: 0.85rem;
  }
}


/* === Hero Section === */
.accordion-wrapper {
  background: #f5f4f2;
  padding: 4rem 1.5rem;
}

.page-title {
  text-align: center;
  font-size: 2.3rem;
  color: #cd90b3;
  margin-bottom: 3rem;
}

.accordion-services {
  max-width: 850px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.accordion-item {
  border-bottom: 1px solid #eee;
  background: #fff;
  transition: background 0.3s ease;
}

.accordion-item.open {
  background: #f7e2eb;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  text-align: left;
  color: #462c8e;
  font-weight: bold;
}

.accordion-header .number {
  font-size: 1rem;
  color: #8e8dcf;
  width: 30px;
  flex-shrink: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: all 0.4s ease;
  font-size: 1rem;
  color: #4a3d8f;
}

.accordion-item.open .accordion-content {
  padding: 1rem 2rem 2rem;
  max-height: 300px;
}

.accordion-content .tags {
  font-size: 0.9rem;
  color: #8e8dcf;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .accordion-content {
    font-size: 0.95rem;
  }
}


/* === Bemer PEMF Therapy Section === */
.pemf-section {
  background: linear-gradient(135deg, #f9f6fc, #f0ecf9);
  padding: 4rem 2rem;
  border-radius: 24px;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  position: relative;
}

.pemf-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.pemf-text {
  flex: 1 1 520px;
}

.pemf-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #462c8e;
  margin-bottom: 1.2rem;
}

.pemf-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a3d8f;
  margin-bottom: 1.2rem;
}

.pemf-text strong {
  color: #6d57c6;
  font-weight: 600;
}

.pemf-text a {
  color: #8e8dcf;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.pemf-text a:hover {
  color: #462c8e;
}

.service-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6d57c6);
  color: #ffffff; /* brighter white */
  padding: 0.9rem 2rem;
  border-radius: 32px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(109, 87, 198, 0.35);
}

.service-btn:hover {
  background: linear-gradient(135deg, #6d57c6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(70, 44, 142, 0.45);
}


.pemf-disclaimer {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
  font-style: italic;
}

/* PEMF Image */
.pemf-image {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.pemf-image img {
  width: 100%;
  max-width: 900px; /* allow wide banner */
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pemf-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
  .pemf-image img {
    max-width: 100%;
    border-radius: 16px;
  }
}




/*  Footer */
.site-footer {
  background: #f5f4f2;
  background: linear-gradient(to top, #f5f4f2, #f5f4f2);
  color: #462c8e;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-family: "Georgia", serif;
  border-top: 3px solid #cd90b3;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #462c8e;
}

.footer-left p {
  margin: 0.3rem 0;
  line-height: 1.5;
  max-width: 500px;
}

.legal-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: #462c8e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #ceafcb;
  width: fit-content;
  padding-bottom: 1px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #8e8dcf;
}
/* === Mobile Optimization === */
@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-left h4 {
    font-size: 1rem;
  }

  .footer-left p,
  .legal-disclaimer {
    font-size: 0.8rem;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.7rem;
    margin-top: 1.5rem;
  }
}
