/* Curemax-inspired layout layer. Haasya Mantra content and branding stay intact. */
:root { --cure-blue:#ffcc00; --cure-ink:#111; --cure-muted:#757575; }

body { color:#555; background:#fff; }
.aboutcom p, .hm-why-copy p, .dental-services p, .team-area p, .hm-reviews-page p, .hm-blog-grid p { text-align:left; }
.hm-topbar { display:none !important; }

.hm-header {
  position:absolute; top:0; left:0; right:0; z-index:1000;
  background:transparent !important; box-shadow:none !important;
}
.hm-navbar { min-height:104px; padding:0; background:transparent !important; }
.hm-nav-container { max-width:1170px; margin:auto; padding:0 15px; }
.hm-navbar .navbar-brand { padding:10px 0; margin-right:auto; }
.hm-navbar .hm-logo { width:190px; height:104px; object-fit:contain; object-position:left center; transform:scale(1.18); transform-origin:left center; }
.hm-navbar .navbar-collapse { justify-content:flex-end; }
.hm-navbar .navbar-nav { align-items:center; width:auto; margin:0; padding:0; }
.hm-navbar .navbar-nav .nav-item { margin:0 0 0 21px; }
.hm-navbar .navbar-nav .nav-link {
  color:#fff !important; padding:39px 0 34px !important; font:700 14px/1.2 Poppins,Arial,sans-serif;
  text-transform:uppercase; letter-spacing:.2px; position:relative; border:0 !important; border-radius:0 !important; background:transparent !important;
}
.hm-navbar .navbar-nav .nav-link:after { display:none; }
.hm-navbar .navbar-nav .nav-link i { margin-left:4px; font-size:12px; }
.hm-navbar .navbar-nav .nav-link:before {
  content:""; position:absolute; left:0; right:0; bottom:27px; height:2px;
  background:var(--cure-blue); transform:scaleX(0); transition:.25s;
}
.hm-navbar .navbar-nav .active > .nav-link:before,
.hm-navbar .navbar-nav .nav-link:hover:before { transform:scaleX(1); }
.hm-navbar .navbar-nav .active > .nav-link,
.hm-navbar .navbar-nav .nav-link:hover { color:var(--hm-yellow) !important; }
.hm-navbar .dropdown-menu { margin:0; padding:8px 0; border:0; border-radius:0; min-width:190px; box-shadow:0 10px 30px rgba(0,0,0,.16); }
.hm-navbar .dropdown-item { padding:10px 22px; font-size:14px; color:#333; text-transform:capitalize; }
.hm-navbar .dropdown-item:hover { color:#222; background:var(--hm-yellow); }
.hm-navbar .navbar-toggler { display:flex !important; align-items:center; justify-content:center; position:absolute; top:21px; right:18px; z-index:5; width:44px; height:40px; padding:0; border:0; border-radius:3px; background:var(--hm-yellow); }
.hm-navbar .navbar-toggler-icon { position:relative; width:22px; height:2px; background:#222 !important; }
.hm-navbar .navbar-toggler-icon:before, .hm-navbar .navbar-toggler-icon:after { content:""; position:absolute; left:0; width:22px; height:2px; background:#222 !important; }
.hm-navbar .navbar-toggler-icon:before { top:-7px; }
.hm-navbar .navbar-toggler-icon:after { top:7px; }
@media (min-width:992px) { .hm-navbar .navbar-toggler { display:none !important; } }

.slider_area { margin:0; position:relative; }
.slider_area .container-fluid, .slider_area .row, .slider_area .col-lg-12 { padding:0; margin:0; }
.hm-hero-carousel .item { position:absolute; inset:0; width:100%; height:100%; min-height:inherit; overflow:hidden; display:flex; align-items:center; }
.hm-hero-carousel { cursor:grab; touch-action:pan-y; user-select:none; }
.hm-hero-carousel.is-dragging { cursor:grabbing; }
.hm-hero-carousel > .item { animation:none !important; opacity:0 !important; visibility:hidden; z-index:0 !important; transition:opacity .65s ease, visibility .65s ease; }
.hm-hero-carousel > .item.is-active,
.hm-hero-carousel:not(.is-ready) > .item:first-child { opacity:1 !important; visibility:visible; z-index:2 !important; }
.hm-hero-arrow { position:absolute; top:50%; z-index:6; width:48px; height:48px; margin-top:-24px; padding:0; border:1px solid rgba(255,255,255,.5); border-radius:50%; color:#fff; background:rgba(0,0,0,.28); font-size:22px; opacity:0; transition:.25s; }
.hm-hero-prev { left:28px; }
.hm-hero-next { right:28px; }
.hm-hero-carousel:hover .hm-hero-arrow, .hm-hero-arrow:focus { opacity:1; }
.hm-hero-arrow:hover { color:#222; background:var(--hm-yellow); border-color:var(--hm-yellow); }
.hm-hero-dots { position:absolute; z-index:7; left:50%; bottom:24px; display:flex; gap:9px; transform:translateX(-50%); }
.hm-hero-dot { width:10px; height:10px; padding:0; border:1px solid #fff; border-radius:50%; background:transparent; }
.hm-hero-dot.is-active { border-color:var(--hm-yellow); background:var(--hm-yellow); }
.hm-hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hm-hero-carousel .item:after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.48); z-index:1; }
.hm-hero-carousel .middle { position:relative; top:auto; left:auto; transform:none; z-index:2; width:100%; padding-top:75px; }
.hm-hero-copy { margin:auto; padding-left:15px !important; padding-right:15px !important; color:#fff; text-align:center !important; }
.hm-hero-copy h3 { width:100%; color:#fff !important; font-size:20px !important; line-height:1.4; font-weight:400 !important; letter-spacing:4px; text-align:center !important; text-transform:uppercase; margin:0 auto 12px !important; display:block !important; }
.hm-hero-copy h3:before { display:none !important; }
.hm-hero-copy h1 { width:100%; max-width:none !important; color:#fff !important; font-size:62px !important; line-height:1.12 !important; font-weight:700 !important; text-align:center !important; text-transform:capitalize; margin:0 auto 32px !important; }
.hm-hero-copy h1 span { color:#fff !important; }
.hm-hero-copy h1 span:after { display:none !important; }
.hm-hero-copy .btn1 { display:inline-flex; align-items:center; gap:10px; color:#222 !important; background:var(--cure-blue) !important; border:0 !important; border-radius:4px; padding:17px 24px; font-size:14px; font-weight:700; text-transform:uppercase; box-shadow:none; }
.hm-hero-copy .btn1:before { background:#222 !important; }
.hm-hero-copy .btn1:hover, .hm-hero-copy .btn1:focus { background:#222 !important; color:#fff !important; }
.hm-hero-copy .btn1:hover i, .hm-hero-copy .btn1:focus i { color:#fff !important; }

.section-padding { padding:100px 0; }
.sec-title { margin-bottom:46px; }
.sec-title .sm-title h4, .hm-reviews-heading > span { margin-bottom:12px; color:var(--hm-yellow-dark) !important; font-size:14px; line-height:1.4; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; }
.sec-title .lg-title h1, .hm-reviews-heading h2 { margin:0; color:#171717; font-size:42px; line-height:1.18; font-weight:700; letter-spacing:-.5px; text-transform:capitalize; }
.sec-title.text-center .lg-title, .hm-reviews-heading h2 { margin-bottom:20px; }
.title-sep-left, .middile-title-line { height:2px !important; background:var(--hm-yellow) !important; }
.title-sep-sm-left, .middile-title-sm-line { height:4px !important; background:#222 !important; }
.middile-title-line { width:150px !important; margin:0 auto !important; }
.middile-title-sm-line { width:38px !important; margin:-3px auto 0 !important; }

.aboutcom { background:#fff; }
.hm-about-photo-grid img { border-radius:12px; }
.hm-about-badge { background:var(--cure-blue) !important; }
.hm-about-caption i, .hm-about-points i { color:var(--cure-blue) !important; }
.theme-btn-2 { background:var(--hm-yellow) !important; border-color:var(--hm-yellow) !important; color:#222 !important; border-radius:4px !important; font-weight:800 !important; }
.theme-btn-2:before { background:#222 !important; }
.theme-btn-2:hover, .theme-btn-2:focus { background:#222 !important; border-color:#222 !important; color:#fff !important; }

.hm-why-choose { background:#29292c !important; padding:64px 0; }
.hm-why-item { padding:24px 20px !important; border:1px solid rgba(255,255,255,.11) !important; background:#343437 !important; box-shadow:0 9px 24px rgba(0,0,0,.16); }
.hm-why-item:hover { background:#3c3c3f !important; border-color:rgba(255,204,0,.5) !important; }
.hm-why-icon { background:var(--hm-yellow) !important; color:#222 !important; border-radius:50% !important; }
.hm-why-icon i { color:#222 !important; opacity:1 !important; }
.hm-why-copy h5, .hm-why-item h5 { color:#fff !important; }
.hm-why-copy p, .hm-why-item p { color:#c7c7c9 !important; }

.dental-services { background:#fff; }
.dental-services .container-fluid { max-width:1320px; padding:0 30px; }
.dental-services .item-block { border-radius:10px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.09); }
.dental-services .item-block .position-re { height:255px; overflow:hidden; }
.dental-services .item-block .position-re img { height:100%; width:100%; object-fit:cover; border-radius:0; display:block; }
.dental-services .item-block .con { position:relative !important; inset:auto !important; bottom:auto !important; min-height:285px; padding:52px 28px 28px !important; background:#fff !important; color:#666; }
.dental-services .item-block:hover .con { bottom:auto !important; }
.dental-services .item-block .icon { position:absolute; left:50%; top:-40px; transform:translateX(-50%); margin:0 !important; background:var(--hm-yellow) !important; color:#262626 !important; border:5px solid #fff; box-shadow:0 7px 18px rgba(0,0,0,.12); }
.dental-services .item-block .icon i { color:#262626 !important; }
.dental-services .item-block h5 a { color:#171717; }
.dental-services .item-block .con h5 { margin:18px 0 14px; }
.dental-services .item-block .con h5,
.dental-services .item-block .con h5 a { color:#171717 !important; font-size:23px; }
.dental-services .item-block .con .line { background:var(--hm-yellow) !important; margin-bottom:18px; }
.dental-services .item-block .con .permalink { color:#6c6c6c !important; height:auto !important; overflow:visible !important; display:block !important; line-height:1.7; }

.team-area { background:#f7f8f9 !important; }
.team-area .row.justify-content-center > div { display:flex; }
.team-single { display:flex !important; flex-direction:column; width:100%; background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 7px 25px rgba(0,0,0,.08); padding:0 !important; margin:0 !important; }
.team-single .img-holder { height:420px; overflow:hidden; background:#ececef; }
.team-single .img-holder img { display:block; border-radius:0 !important; width:100%; height:100%; object-fit:cover; object-position:center top; }
/* The two doctor photos have very different amounts of headroom above the
   head in the original shots, so a single object-position leaves one face
   sitting much lower than the other. Nudge each one (measured against this
   card's actual rendered box height) so both faces line up at the same
   level here on the homepage cards. */
.team-single .img-holder img[src*="HAR_3543_optimized"] { object-position: center 49% !important; }
.team-single .img-holder img[src*="HAR_3554_optimized"] { object-position: center 14% !important; }
.team-single .con { position:relative !important; inset:auto !important; bottom:auto !important; flex:1; min-height:210px; padding:24px 28px 27px !important; background:var(--hm-charcoal) !important; border-radius:0 !important; text-align:center; }
.team-single .con h5 { margin:0 0 8px !important; color:#fff !important; font-size:22px !important; line-height:1.3; }
.team-single .con h5 a { color:#fff !important; }
.team-single .con h5 a:hover { color:var(--hm-yellow) !important; }
.team-single .con > p { color:#f2f2f2 !important; text-align:center !important; line-height:1.65; }
.team-single .con > p[style] { color:var(--hm-yellow) !important; }

.hm-reviews-page { padding:100px 0 !important; background:#fff !important; }
.hm-review-card { border:0 !important; border-radius:8px !important; box-shadow:0 8px 30px rgba(0,0,0,.09) !important; }
.hm-stars, .hm-review-quote { color:var(--cure-blue) !important; }
.hm-avatar { background:var(--hm-yellow) !important; color:#222 !important; }
.hm-review-top .hm-avatar { color:#222 !important; }
.hm-blog-grid { background:#f7f8f9 !important; padding:100px 0 !important; }
.hm-blog-card { border:0 !important; box-shadow:0 8px 30px rgba(0,0,0,.08); border-radius:9px; overflow:hidden; }
.hm-blog-card-date { color:#55575b !important; font-weight:700; }
.hm-blog-card-date i { color:var(--hm-yellow-dark) !important; }
.hm-blog-readmore { color:#222 !important; font-weight:800; }
.hm-blog-readmore i { color:var(--hm-yellow-dark) !important; }
.hm-blog-readmore:hover { color:var(--hm-yellow-dark) !important; }
.hm-blog-card-img { height:230px; background:#eee; }
.hm-blog-card-img img { width:100%; height:100% !important; object-fit:cover; object-position:center; }
.hm-about-badge, .hm-about-badge strong, .hm-about-badge span { color:#222 !important; }
.hm-about-caption i, .hm-about-points i { color:#222 !important; }
.hm-about-caption i:before, .hm-about-points i:before { color:#222 !important; }
.hm-call-fab, #scroll { color:#222 !important; }
.hm-call-fab i, #scroll span { color:#222 !important; }
.hm-map-frame { border-radius:10px; box-shadow:0 8px 28px rgba(0,0,0,.1); }

/* Internal page banner: clear the transparent header and keep title centered. */
.hm-page-banner { min-height:500px !important; padding:175px 20px 100px !important; display:flex; align-items:center; justify-content:center; text-align:center; box-sizing:border-box; background-size:cover !important; background-position:center 58% !important; background-repeat:no-repeat !important; }
.hm-page-banner .container { position:relative; z-index:3; }
.hm-page-banner h1 { margin:18px 0 12px !important; color:#fff !important; font-size:46px !important; line-height:1.15 !important; }
.hm-page-banner .hm-breadcrumb { color:#fff !important; }

@media (max-width:991px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  .container, .container-fluid { width:100% !important; max-width:100% !important; }
  .hm-header { position:absolute; }
  .hm-navbar { min-height:82px; padding:0; }
  .hm-nav-container { width:100% !important; max-width:100% !important; padding:0 18px !important; }
  .hm-navbar .hm-logo { width:150px; height:70px; transform:scale(1.08); }
  .hm-navbar .navbar-toggler { display:flex !important; align-items:center; justify-content:center; flex:0 0 44px; margin-left:auto; padding:0; border:0; background:var(--hm-yellow); border-radius:3px; width:44px; height:40px; }
  .hm-navbar .navbar-toggler { position:absolute; top:21px; right:18px; z-index:5; }
  .hm-navbar .navbar-toggler-icon { position:relative; width:22px; height:2px; background:#222 !important; }
  .hm-navbar .navbar-toggler-icon:before, .hm-navbar .navbar-toggler-icon:after { content:""; position:absolute; left:0; width:22px; height:2px; background:#222 !important; }
  .hm-navbar .navbar-toggler-icon:before { top:-7px; }
  .hm-navbar .navbar-toggler-icon:after { top:7px; }
  .hm-navbar .navbar-collapse { position:absolute; top:82px; left:15px; right:15px; background:#fff; box-shadow:0 10px 30px rgba(0,0,0,.15); }
  .hm-navbar .navbar-nav { align-items:stretch; }
  .hm-navbar .navbar-nav .nav-item { margin:0; border-bottom:1px solid #eee; }
  .hm-hero-arrow { display:none; }
  .hm-navbar .navbar-nav .nav-link { color:#222 !important; padding:14px 20px !important; }
  .hm-navbar .navbar-nav .nav-link:before { display:none; }
  .hm-navbar .dropdown-menu { box-shadow:none; padding:0 0 8px 20px; }
  .slider_area { height:620px !important; min-height:620px !important; }
  .hm-hero-carousel, .hm-hero-carousel .item { height:620px !important; min-height:620px !important; }
  .hm-hero-copy h1 { font-size:46px !important; }
  .hm-hero-copy h3 { font-size:15px !important; letter-spacing:3px; }
  .hm-about-row { margin-left:0; margin-right:0; }
  .hm-about-row > [class*="col-"] { flex:0 0 100%; width:100%; max-width:100%; padding-left:15px; padding-right:15px; min-width:0; box-sizing:border-box; }
  .hm-about-visual { width:100%; max-width:680px; }
  .hm-about-copy { width:100%; max-width:100%; box-sizing:border-box; }
  .hm-page-banner { min-height:430px !important; padding:145px 20px 75px !important; background-position:center center !important; }
}
@media (max-width:575px) {
  .slider_area, .hm-hero-carousel, .hm-hero-carousel .item { height:570px !important; min-height:570px !important; }
  .hm-hero-copy h3 { font-size:13px !important; letter-spacing:3px; }
  .hm-hero-copy h1 { font-size:36px !important; line-height:1.16 !important; }
  .section-padding, .hm-reviews-page, .hm-blog-grid { padding:70px 0 !important; }
  .sec-title .lg-title h1, .hm-reviews-heading h2 { font-size:33px; }
  .hm-about-visual { width:100%; min-height:455px; padding:0 0 28px; }
  .hm-about-photo-grid { width:100%; height:455px; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); }
  .hm-about-badge { right:6px; min-width:138px; max-width:46%; padding:11px 12px; gap:8px; }
  .hm-about-badge strong { font-size:31px; }
  .hm-about-badge span { font-size:9px; }
  .hm-about-caption { left:15px; right:15px; width:max-content; max-width:calc(100% - 30px); }
  .hm-about-copy { padding-left:15px !important; padding-right:15px !important; }
  .hm-about-copy .about-text-box > p { text-align:justify !important; }
  .hm-about-copy .about-text-box .hm-about-lead { font-size:18px; }
  .hm-why-item { min-height:auto; }
  .team-single .img-holder { height:360px; }
  .hm-page-banner { min-height:390px !important; padding:125px 15px 60px !important; }
  .hm-page-banner h1 { font-size:38px !important; }
}
