:root{
  --dark-brown:#473c38;
  --light-brown:#c3ab89;
  --offwhite:#f8f5f1;
  --white:#ffffff;
}

/* base */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, Arial, sans-serif;
  background:var(--offwhite);
  color:#222;
}


/* NAVBAR */

.logo {
  color: #c3ab89;
}
/* LAYOUT */
.services-page{
  display:flex;
  min-height:calc(100vh - 72px);
}
/* 🔥 SWIPE HINT (HIDDEN ON DESKTOP) */
.mobile-swipe-hint {
  display: none;
}

/* LEFT PANEL */
.services-left{
  width:340px;                /* fixed width to avoid shifting */
  background:#fff;
  padding:56px 32px;
  overflow-y:auto;
  border-right: 1px solid rgba(0,0,0,0.03);
}
.section-title{
  margin:0 0 26px 0;
  color:var(--dark-brown);
  font-size:28px;
}

/* CARDS (left) */
.service-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:linear-gradient(135deg,#c3ab89,#b79a74);
  padding:16px 18px;
  border-radius:14px;
  margin-bottom:18px;
  cursor:pointer;
  font-weight:700;
  color:var(--dark-brown);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
  transition:transform .22s ease, box-shadow .22s ease;
}
.icon-circle{
  width:46px;height:46px;background:#fff;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:20px;
  box-shadow:0 6px 14px rgba(0,0,0,0.08);
}
.service-card span{font-size:15px;}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,0.12);
}
.service-card.active{
  outline: 3px solid rgba(71,60,56,0.08);
  box-shadow:0 18px 46px rgba(0,0,0,0.14);
}

/* RIGHT PANEL */
.services-right{
  flex:1;                      /* take remaining width */
  padding:72px 80px;           /* space from top and sides */
  position:relative;
  display:flex;
  align-items:flex-start;      /* keeps content at top area */
  justify-content:center;
  /* background image will be set by JS with rightPanel.style.backgroundImage */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat; /* single image, not tiled */
}

/* PLACEHOLDER text */
.placeholder{
  text-align:center;
  font-size:18px;
  color:#6b5a55;
  max-width:700px;
  margin-top:40px;
}

/* DETAIL CARD (centered horizontally, near top) */
.detail-content{
  display:none;                /* hidden until active */
  width:520px;
  max-width:90%;
  background:rgba(255,255,255,0.98);
  padding:32px;
  border-radius:18px;
  box-shadow:0 30px 70px rgba(0,0,0,0.12);
  margin-top:18px;             /* push down slightly from top padding */
  transform:translateY(14px);
  opacity:0;
  transition:transform .32s ease, opacity .32s ease;
}
.detail-content.active{
  display:block;
  transform:translateY(0);
  opacity:1;
}

/* headings and list */
.detail-content h3{
  margin:0 0 12px 0;
  color:var(--dark-brown);
}
.detail-content p{ margin:0 0 12px 0; color:#222; line-height:1.45; }
.detail-content ul{ margin:0 0 8px 20px; color:#333; }

.analysis-qr{
  margin-top: 25px;
  text-align: center;
}

.analysis-qr img{
  width: 130px;
  height: 130px;
  object-fit: contain;
  border: 2px dashed #c3ab89;
  padding: 10px;
  border-radius: 14px;
}

.analysis-qr p{
  margin-top: 8px;
  font-size: 14px;
  color: #6b5a55;
  font-weight: 600;
}

/* ================= PREMIUM SLIDE MENU ================= */

/* ===== MOBILE / TABLET NAV ===== */

@media (max-width:900px){

  .menu-toggle{
    display:block;
    z-index:2001;
  }

  .nav-links{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    width:80%;
    max-width:320px;
    background:var(--dark-brown);
    flex-direction:column;
    align-items:flex-start;
    padding:80px 30px;
    gap:25px;

    transform:translateX(100%);
    transition:transform 0.35s ease;
    z-index:2000;
  }

  .nav-links.active{
    transform:translateX(0);
  }

}
/* ================= PREMIUM MOBILE LAYOUT ================= */

@media (max-width: 900px){

  .services-page{
    display:block;
  }

  .services-left{
    width:100%;
    padding:20px 16px;
    border-right:none;
    overflow-x:auto;
    overflow-y:hidden;
    display:flex;
    gap:14px;
    position:relative;
    height:auto;
  }

  .section-title{
    display:none;
  }

  .service-card{
    min-width:160px;
    flex-shrink:0;
    margin-bottom:0;
  }

  .services-right{
    padding:28px 16px 60px;
  }

  .detail-content{
    width:100%;
    max-width:100%;
    border-radius:16px;
  }

/* 🔥 PREMIUM GOLDEN SWIPE HINT */
  /* 🔥 SHOW SWIPE HINT ON MOBILE */
  .mobile-swipe-hint {
      display: block;
      text-align: right;
      padding: 10px 20px 0; 
      font-size: 14px; 
      color: #D4A373; 
      font-style: italic;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-shadow: 0 2px 8px rgba(212, 163, 115, 0.4); 
      animation: swipeForward 1.8s ease-in-out infinite;
      cursor: pointer; /* 🔥 Makes it act like a button */
  }

  /* 🔥 The "Moving Forward" Animation */
  @keyframes swipeForward {
      0% { opacity: 0.4; transform: translateX(0); }
      50% { opacity: 1; transform: translateX(8px); } /* Moves forward noticeably */
      100% { opacity: 0.4; transform: translateX(0); }
  }

}

@media (min-width: 901px) {
      /* Pushes the Dental box down so the face is visible */
    #dentalDetail {
        margin-top: 260px; 
    }

    /* Pushes the PCOD box down and slightly right */
    #pcodDetail {
        margin-top: 220px;
        margin-left: auto;
        margin-right: 40px;
    }
}