

/*
Theme Name: clinicadagyudan
Version: 1.0.0
*/

/* ===== Base / Reset ===== */
:root { color-scheme: light; }
:root{

--primary: #897461;
--primary-dark: #5F0808;

--gold: #e1d5bf;
--gold-dark: #C4873D;

--bg-main: #EBEBEB;
--bg-section: #F5F5F5;

--text-main: #2B2B2B;
--text-muted: #666666;

--border: #DDDDDD;

}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  background-color: var(--bg-main);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}
.site-main {
  padding: 1.5rem 0 2.5rem;
}
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ===== Header: Top Bar ===== */
.topbar {
  background-color: #897461;
}

.topbar__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

/* left segment (light green) */
.topbar__left {
  background-color: #897461;
  color: #ffffff;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  flex: 0 0 42%;
}

/* right segment (dark) */
.topbar__right {
  color: #ffffff;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  flex: 1;
}

.topbar__item,
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.topbar__icon {
  opacity: 0.9;
  font-size: 1rem;
}

/* facebook icon button */
.topbar__iconbtn {
  width: 28px;
  height: 28px;
  border-left: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

/* ===== Header: Main Head ===== */
.mainhead {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.mainhead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 0;
}

.brand {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.mainhead__brand .custom-logo {
  max-height: 70px;
  width: auto;
  height: auto;
  display: block;
}
img.emoji {
    filter: invert(1);
}
/* Desktop menu (horizontal) */
.mainhead__nav {
  display: block;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.menu li { margin: 0; }

.menu a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.menu a:hover { opacity: 0.8; }

/* ===== Hamburger Button ===== */
.nav-toggle {
  display: none; /* shown only on mobile */
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #2d2d2d;
  margin: 6px 0;
  border-radius: 2px;
}
.sections {
    background-image: url(assets/images/examination.jpg);
    height: 345px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--primary-dark);
}
.sections:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom right, #bfcbc2, #bfcbc2);
    opacity: 0.6;
}
.about-alt-title {
    border-left: solid 5px var(--gold);
    margin-bottom: 1rem;
    color: var(--primary-dark)!important;
}
.about-alt-title h5 {
    margin-left: 15px;
    margin-bottom: 5px;
}
.about-alt-title h2 {
    font-size: 1.424rem;
    margin-left: 15px;
    margin-top: 0;
}
.section-title h2 {
    color: var(--primary-dark)!important;
}
.section-title h2:after {
    background: var(--gold);
    content: '';
    display: block;
    height: 5px;
    margin: 15px auto;
    width: 80px;
}
p { 
    color: var(--text-main);
}
.menu-close {
    display: none;
}
  footer {
      background: var(--gold);
      color: var(--primary-dark);
  }
  h3 {
        color: var(--primary-dark);
  }
  /* to remove bullets from an unordered list */
ul {
  list-style: none;
}

/* to remove bullets from an ordered list */
ol {
  list-style:none; 
}
footer ul {
      padding: 0;
      margin: 0;
  }
  footer ul li {
      list-style: none;
      margin-bottom: 0.5rem;
  }
  footer a {
      color: var(--primary-dark);
      text-decoration: none;
  }
/* ===== Responsive / Mobile ===== */
@media (max-width: 860px) {
  .topbar { display: none; } /* optional */

  /* Show hamburger */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
    /* Close button inside off-canvas menu */
    .menu-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border: none;
      background: transparent;
      cursor: pointer;
    }
    
    /* Create the X */
    .menu-close span {
      position: absolute;
      left: 0;
      top: 50%;
      width: 100%;
      height: 2px;
      background: #222;
    }
    
    .menu-close span:first-child {
      transform: rotate(45deg);
    }
    
    .menu-close span:last-child {
      transform: rotate(-45deg);
    }
  /* Overlay */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 9998;
  }

  .menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Off-canvas panel */
  .mainhead__nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(86vw, 340px);
    background: #ffffff;
    border-right: 1px solid #eee;

    /* Start hidden off-screen */
    transform: translateX(-100%);
    transition: transform 260ms ease;
    z-index: 9999;

    /* spacing */
    padding: 60px 1rem 1.25rem;
    overflow-y: auto;

    /* always exist (no display:none) for smooth animation */
    display: block;
  }

  .mainhead__nav.is-open {
    transform: translateX(0);
  }

  /* Make UL vertical */
  .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
  }

  .menu a {
    display: block;
    padding: 0.9rem 0.25rem;
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 700;
    border-bottom: 1px solid #f1f1f1;
  }
  .menu li:last-child a { border-bottom: 0; }

  /* Optional: prevent page scroll when menu open */
  body.menu-open {
    overflow: hidden;
  }

  /* Logo size on mobile */
  .mainhead__brand .custom-logo {
    max-height: 52px;
    width: auto;
    height: auto;
  }
}

.home-slider {
  width: 100%;
  height: 900px;
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.clinic-swiper {
  width: 100%;
  height: 900px;
  position: relative;
}

.clinic-swiper .swiper-wrapper {
  height: 100%;
}

.clinic-swiper .swiper-slide {
  height: 900px;
  min-height: 350px;
  position: relative;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.clinic-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.2;
  z-index: 1;
}

.clinic-swiper .swiper-slide .container {
  margin: 0rem auto;
  position: relative;
  height: 100%;
  z-index: 2;
}

.slider-caption {
  position: absolute;
  top: 40%;
  text-align: left;
  transform: translateY(-40%);
  z-index: 2;
}

.slider-caption h2 {
  font-weight: 400;
}

.slider-caption span {
  font-weight: 700;
  text-transform: uppercase;
  font-style: normal;
}

.display-4 {
  color: #FFF;
  font-size: 2.5rem;
  line-height: 1.2;
}

.lead {
  color: #FFF;
  font-size: 18px;
  font-weight: 300;
  width: 70%;
}

.animated {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100px, 0, 0);
    transform: translate3d(100px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100px, 0, 0);
    transform: translate3d(100px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

/* Navigation */
.clinic-swiper .swiper-button-prev,
.clinic-swiper .swiper-button-next {
  position: absolute;
  top: 10%;
  bottom: auto;
  width: auto;
  height: auto;
  margin-top: 0;
  z-index: 10;
}

.clinic-swiper .swiper-button-prev {
  left: 10px;
}

.clinic-swiper .swiper-button-next {
  right: 10px;
}

.clinic-swiper .swiper-button-prev::after,
.clinic-swiper .swiper-button-next::after {
  display: none;
}

.swiper-button-prev-icon,
.swiper-button-next-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 50% 50%;
  background-color: #35414b;
}

.clinic-swiper .swiper-button-prev,
.clinic-swiper .swiper-button-next {
  color: #fff;
  width: 50px;
  height: 50px;
}

.clinic-swiper .swiper-button-prev {
  left: 15px;
}

.clinic-swiper .swiper-button-next {
  right: 15px;
}

/* Pagination */
.clinic-swiper .swiper-pagination {
  bottom: 20px !important;
  text-align: center;
}
.clinic-swiper .swiper-pagination-bullet {
  box-sizing: content-box;
  width: 40px;
  height: 4px;
  margin-right: 3px !important;
  margin-left: 3px !important;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-radius: 0;
  cursor: pointer;
  background-color: #fff;
  opacity: .5;
  transition: opacity 0.6s ease, background-color 0.6s ease;
}

.clinic-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #EEC344;
}

.btn-more {
  margin-top: 1.5rem;
}
.pll-parent-menu-item a {
    display: flex;
    justify-content: start;
    align-items: center;
}