/* =========================================================
   SERVICES PAGE — ORIGINAL DR. ANUPAMA LAYOUT
   Rebuilt from the supplied original page source.
   ========================================================= */

.services-page {
  background:#fff;
}

/* Original inner-page title area */
.services-page-hero {
  height:385px;
  position:relative;
  background:url("https://dranupama.in/wp-content/uploads/2018/03/innerpage.jpg") center center/cover no-repeat;
}

.services-page-hero::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.04);
}

.services-page-hero-card {
  position: absolute;
    z-index: 1;
    left: 8.5%;
    top: 20px;
    width: 25%;
    min-height: 244px;
    background: #fff;
    padding: 62px 72px;
}

.services-page-hero-card h1 {
  margin:0 0 50px;
  color:#222;
  font-size:40px;
  line-height:1;
  font-weight:600;
  letter-spacing:-1px;
}

.services-breadcrumbs {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  color:#9a8f99;
  font-size:17px;
  line-height:1.4;
}

.services-breadcrumbs a {
  color:#9a8f99;
}

.services-breadcrumbs a:hover {
  color:#da0067;
}

.services-breadcrumbs .sep {
  display:inline-block;
  margin:0 18px;
  color:#9a8f99;
  font-size:25px;
  font-weight:300;
}

/* Service collection */
.services-original {
  max-width:1170px;
  margin:0 auto;
  padding:82px 0 92px;
}

.services-original-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:30px;
  row-gap:58px;
}

.services-original-card {
  min-width:0;
  background:#fff;
  text-align:center;
  overflow:hidden;
}

.services-original-thumb {
  position:relative;
  width:100%;
  height:208px;
  overflow:hidden;
  background:#f4f4f4;
}

.services-original-thumb img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s ease;
}

.services-original-card:hover .services-original-thumb img {
  transform:scale(1.035);
}

/* Original theme keeps the item number hidden */
.services-original-number {
  display:none;
}

.services-original-info {
  padding:31px 24px 4px;
}

.services-original-title {
  margin:0 0 20px;
  font-size:20px;
  line-height:1.25;
  font-weight:700;
  text-transform:uppercase;
  color:#171717;
}

.services-original-title a {
  color:#171717;
}

.services-original-title a:hover {
  color:#da0067;
}

.services-original-card:nth-child(3) .services-original-title,
.services-original-card:nth-child(6) .services-original-title {
  text-transform:none;
}

.services-original-description {
  min-height:55px;
  margin:0 auto 17px;
  max-width:330px;
  color:#9a929c;
  font-size:15px;
  line-height:1.65;
  font-weight:300;
}

.services-original-learn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:115px;
  height:38px;
  padding:0 15px;
  background:#da0067;
  border:1px solid #da0067;
  border-radius:3px;
  color:#fff;
  font-size:14px;
  line-height:1;
  font-weight:600;
  text-align:center;
  box-sizing:border-box;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.services-original-learn .arrow {
  font-size:17px;
  line-height:1;
  color:#fff;
  transition:transform .2s ease;
}

.services-original-learn:hover {
  color:#fff;
  background:#c80060;
  border-color:#c80060;
}

.services-original-learn:hover .arrow {
  transform:translateX(3px);
}

/* Original footer */
.services-original-footer {
  min-height:510px;
  padding:55px 0 25px;
  background:url("https://dranupama.in/wp-content/uploads/2017/10/pic110.jpg") center center/cover no-repeat;
}

.services-footer-cards {
  max-width:1410px;
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:60px;
}

.services-footer-card {
  min-height:330px;
  padding:62px 35px;
  background:#fff;
  text-align:center;
}

.services-footer-icon {
  width:78px;
  height:78px;
  margin:0 auto 22px;
  color:#c800a7;
}

.services-footer-icon svg {
  width:100%;
  height:100%;
  display:block;
}

.services-footer-card h3 {
  margin:0;
  color:#171717;
  font-size:24px;
  line-height:1.25;
  font-weight:700;
}

.services-footer-rule {
  width:58px;
  margin:30px auto 32px;
  border:0;
  border-top:3px solid #e5e5e5;
}

.services-footer-card p,
.services-footer-card a {
  margin:0;
  color:#8b828e;
  font-size:17px;
  line-height:1.65;
  font-weight:300;
}

.services-footer-card p + p {
  margin-top:2px;
}

.services-footer-card a {
  font-weight:600;
}

.services-footer-card .direction {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:4px;
}

.services-footer-card .direction-arrow {
  color:#171717;
  font-size:21px;
}

.services-footer-copyright {
  margin-top:40px;
  text-align:center;
  color:#fff;
  font-size:16px;
  line-height:1.5;
}

.services-footer-copyright img {
  display:inline-block;
  width:76px;
  height:35px;
  vertical-align:middle;
  object-fit:contain;
  margin-left:4px;
}

.services-page .scroll-top {
  position:fixed;
  right:20px;
  bottom:18px;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#df0068;
  color:#fff;
  font-size:25px;
  line-height:1;
  z-index:100;
}

@media(max-width:1200px){
  .services-original {
    padding-left:25px;
    padding-right:25px;
  }
  .services-page-hero-card {
    left:7%;
    width:55%;
  }
  .services-page-hero-card h1 {
    font-size:68px;
  }
  .services-footer-cards {
    gap:30px;
  }
}

@media(max-width:900px){
  .services-page-hero {
    height:330px;
  }
  .services-page-hero-card {
    left:5%;
    top:20px;
    width:70%;
    min-height:290px;
    padding:52px 45px;
  }
  .services-page-hero-card h1 {
    font-size:56px;
    margin-bottom:40px;
  }
  .services-original-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .services-footer-cards {
    grid-template-columns:1fr;
    max-width:650px;
  }
}

@media(max-width:600px){
  .services-page-hero {
    height:280px;
  }
  .services-page-hero-card {
    left:15px;
    top:20px;
    width:calc(100% - 30px);
    min-height:230px;
    height:230px;
    padding:45px 30px;
  }
  .services-page-hero-card h1 {
    font-size:43px;
    margin-bottom:40px;
    letter-spacing:0;
  }
  .services-breadcrumbs {
    font-size:15px;
  }
  .services-breadcrumbs .sep {
    margin:0 10px;
    font-size:21px;
  }
  .services-original {
    padding:55px 20px 65px;
  }
  .services-original-grid {
    grid-template-columns:1fr;
    row-gap:55px;
  }
  .services-original-thumb {
    height:auto;
    aspect-ratio:760 / 428;
  }
  .services-original-info {
    padding:27px 20px 0;
  }
  .services-original-description {
    min-height:0;
  }
  .services-original-footer {
    padding-top:35px;
  }
  .services-footer-cards {
    padding:0 15px;
    gap:25px;
  }
  .services-footer-card {
    min-height:0;
    padding:45px 25px;
  }
  .services-footer-copyright {
    margin:30px 15px 0;
  }
}

/* Cancel the generic dark footer overlay from style.css on this page. */
.services-original-footer::before {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(50,35,75,.18);
  pointer-events:none;
}

.services-original-footer > * {
  position:relative;
  z-index:1;
}


/* ===== Footer icon images ===== */
.footer-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
}
.footer-icon img{
  width:52px;
  height:52px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
@media (max-width:576px){
  .footer-icon img{
    width:48px;
    height:48px;
  }
}
