/* =================================================================
   Derma Essence — nav.css
   Extracted from inline <style> blocks in includes/nav.blade.php on
   2025-05-06 to remove ~400 lines of render-blocking inline CSS.
   ================================================================= */

/* Defeat Bootstrap's .z-1 (which is `z-index:1 !important`) so the header
   sits above the hero Swiper slider. Use a high value because Swiper sets
   stacking contexts via transforms. */
header,
header.navbar-top,
header.site-header { z-index: 1050 !important; }

/* ============================================================
   NEW HEADER (top utility bar + main nav)
   ============================================================ */

/* Position the whole header absolutely over the hero (so banners can show through). */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
/* When the page scrolls, .site-header.sticky-header is added by JS. We give it a solid bg. */
.site-header.sticky-header {
  position: fixed;
  background: #0c0707;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  animation: slideDown 220ms ease;
}
.site-header.sticky-header .utility-bar { display: none !important; }
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* ---- Utility bar (slim, dark, refined) ---- */
.utility-bar {
  background: linear-gradient(90deg, #0a0707 0%, #181010 100%);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
}
.utility-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.utility-list-right { justify-content: flex-end; }
.utility-list li { display: flex; align-items: center; gap: 7px; line-height: 1; }
.utility-list a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 150ms ease;
}
.utility-list a:hover { color: #DF7D6F !important; }
.utility-icon {
  display: inline-flex;
  align-items: center;
  color: #DF7D6F;
  font-size: 13px;
}
.utility-icon svg { width: 13px; height: 13px; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  background: rgba(223,125,111,0.12);
  border: 1px solid rgba(223,125,111,0.35);
  border-radius: 999px;
  color: #fff;
}
.rating-badge .stars { color: #f5b400; letter-spacing: 1px; font-size: 12px; }
.rating-badge .rating-text { font-size: 12px; opacity: 0.95; }
.utility-bar-mobile {
  background: #0a0707;
  color: #fff;
  padding: 6px 0;
  font-size: 13px;
}
.utility-bar-mobile a { color: #fff !important; text-decoration: none; }

/* ---- Main nav row ---- */
.main-nav { padding: 14px 0 12px; }
.brand-link { display: inline-block; }
.brand-link .logo {
  width: 165px;
  max-width: 100%;
  height: auto;
  transition: width 200ms ease;
}
.site-header.sticky-header .brand-link .logo { width: 130px; }
.navbar-expand-lg .navbar-nav .nav-link {
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff !important;
  position: relative;
  padding: 8px 14px !important;
  line-height: 24px !important;  /* shrunk from 75px */
  transition: color 180ms ease;
}
.navbar-expand-lg .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #DF7D6F;
  transform: translateX(-50%);
  transition: width 200ms ease;
  pointer-events: none;
}
.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active { color: #DF7D6F !important; }
.navbar-expand-lg .navbar-nav .nav-link:hover::after,
.navbar-expand-lg .navbar-nav .nav-link.active::after { width: 24px; }

/* "Book Appointment" CTA — solid peach, no glow */
header .btn-appointment,
.btn-appointment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DF7D6F;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 0;
  letter-spacing: 0.01em;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  animation: none !important;     /* kill the old glow */
  box-shadow: 0 4px 14px rgba(223,125,111,0.35);
}
header .btn-appointment:hover,
.btn-appointment:hover {
  background: #cb6a5d;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(223,125,111,0.45);
}
.btn-appointment-sm { padding: 8px 14px; font-size: 12px; }

/* Mobile main bar */
.mobile-main-bar { padding: 10px 0; background: #0c0707; }
.menu-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.menu-toggle-bars {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 14px;
}
.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }
.menu-toggle:hover { border-color: #DF7D6F; }
.menu-toggle:hover .menu-toggle-bars span { background: #DF7D6F; }

/* Dropdown menu refinements */
.dropdown-menu {
  background-color: #150e0e !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.dropdown-menu .text-hove-menu {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  transition: background 150ms ease, color 150ms ease;
}

/* ============================================================
   PRE-FOOTER CTA STRIP
   ============================================================ */
.pre-footer-cta {
  background: linear-gradient(135deg, #DF7D6F 0%, #c66355 100%);
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.pre-footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10) 0, transparent 60%);
  pointer-events: none;
}
.cta-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin: 0 0 8px;
  opacity: 0.85;
}
.cta-heading {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}
.cta-sub {
  font-size: 16px;
  opacity: 0.95;
  margin: 0;
  max-width: 560px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.btn-cta svg { width: 16px; height: 16px; }
.btn-cta-primary {
  background: #fff;
  color: #c66355 !important;
}
.btn-cta-primary:hover {
  background: #150e0e;
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-cta-secondary {
  background: #150e0e;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.btn-cta-secondary:hover {
  background: #fff;
  color: #150e0e !important;
  transform: translateY(-1px);
}

/* ============================================================
   MAIN FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0a0606 0%, #1a0e0d 100%);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 24px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
}
.footer-grid { padding-bottom: 28px; }
.footer-col { padding-right: 20px; }

.footer-brand-link { display: inline-block; margin-bottom: 14px; }
.footer-logo {
  width: 175px;
  height: auto;
  filter: brightness(1.05);
}
.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.72);
  max-width: 380px;
}
.footer-about strong { color: #fff; font-weight: 600; }

.footer-social {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85) !important;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  background: #DF7D6F;
  border-color: #DF7D6F;
  color: #fff !important;
  transform: translateY(-2px);
}

.footer-heading {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #DF7D6F;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.72) !important;
  text-decoration: none;
  font-size: 14px;
  transition: color 150ms ease, padding-left 150ms ease;
  display: inline-block;
}
.footer-links a:hover { color: #DF7D6F !important; padding-left: 4px; }
.footer-links-2col { column-count: 1; column-gap: 16px; }
@media (min-width: 768px) { .footer-links-2col { column-count: 2; } }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact a {
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-contact a:hover { color: #DF7D6F !important; }
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(223,125,111,0.12);
  color: #DF7D6F;
  margin-top: 1px;
}
.footer-icon svg { width: 14px; height: 14px; }
.footer-contact strong { color: #fff; font-weight: 600; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-copy, .footer-credit { margin: 0; }
.footer-credit a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
}
.footer-credit a:hover { color: #DF7D6F !important; }

/* Back to top circular button */
.back-to-top {
  position: fixed !important;
  right: 24px;
  bottom: 110px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  background: #DF7D6F;
  color: #fff !important;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(223,125,111,0.45);
  transition: transform 200ms ease, background 200ms ease;
  text-decoration: none;
}
.back-to-top.visible { display: inline-flex; }
.back-to-top:hover { background: #cb6a5d; transform: translateY(-3px); color: #fff !important; }

/* ============================================================
   MOBILE TWEAKS
   ============================================================ */
@media (max-width: 991px) {
  .site-header { position: relative; }
  .site-header.sticky-header { position: fixed; }
  .pre-footer-cta { padding: 36px 0; }
  .cta-heading { font-size: 24px !important; }
  .cta-sub { font-size: 15px; }
  .site-footer { padding: 48px 0 20px; }
  .footer-col { padding-right: 0; }
  .footer-heading { margin-bottom: 14px; }
  .back-to-top { right: 16px; bottom: 90px; }
}
@media (max-width: 767px) {
  .cta-buttons { justify-content: stretch !important; }
  .btn-cta { flex: 1; justify-content: center; }
}


.slide-menu a { font-size: 18px !important; color: #fff !important; }
.slide-menu .dropdown-item {
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
}
.dropdown-menu {
  background-color: #150e0e;
  border: 1px solid #fff;
  padding: 10px !important;
  border-radius: 15px;
}
.slide-menu .dropend .show {
  border-radius: 10px;
  margin-bottom: 10px;
  background-color: #150e0e !important;
  padding-left: 15px;
  color: #fff !important;
}
.slide-menu .dropdown .show {
  border-radius: 10px;
  margin-bottom: 10px;
  background-color: #df7d6f;
  padding-left: 15px;
}

.mega-menu,
.mega-menu-service {
  background-color: #000;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  visibility: hidden;
  z-index: 999;
  margin-top: -5px;
}
.mega-menu .title,
.mega-menu-service .title {
  color: #DF7D6F;
  font-size: 1.3em;
  margin-bottom: 10px;
}
.mega-menu a,
.mega-menu-service a {
  color: #fff;
  font-size: 14px;
}
.mega-menu a i,
.mega-menu-service a i { margin-right: 5px; }
.mega-menu a:hover,
.mega-menu-service a:hover,
.mega-menu i,
.mega-menu-service i { color: #DF7D6F; }
.mega-menu.active,
.mega-menu-service.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.navbar-expand-lg .navbar-nav .nav-link {
  line-height: 75px;
  font-size: 13px !important;
}
.sticky-header .mega-menu,
.sticky-header .mega-menu-service { margin-top: -10px; }

.mt-neg-30 { margin-top: -25px !important; }

.text-hove-menu {
  text-transform: capitalize !important;
  color: #fff !important;
  padding: 5px 10px;
  display: flex;
  border-radius: 5px !important;
}
.text-hove-menu:hover { background: #DF7D6F !important; }

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.blog-height-manage {
  height: 275px;
  object-fit: cover;
  width: 100%;
}

.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: #000; }
.btn-appointment:hover { color: #000; }

header .btn-appointment {
  border-radius: 5px !important;
  animation: glowing 1.5s infinite;
  transition: all 0.3s ease-in-out;
}
.btn-pages {
  background-color: #DF7D6F;
  color: #fff;
  border-radius: 5px;
  padding: 10px 15px;
}
.btn-pages:hover { color: #000; }

@keyframes glowing {
  0%   { box-shadow: 0 0 5px #DF7D6F; }
  50%  { box-shadow: 0 0 15px #DF7D6F; }
  100% { box-shadow: 0 0 5px #DF7D6F; }
}
@media (prefers-reduced-motion: reduce) {
  header .btn-appointment { animation: none !important; }
}

.mob-num-email {
  background-color: #000;
  display: flex;
  gap: 10px;
  justify-content: start;
}
.mob-num-email a { font-size: 12px; color: #fff !important; }
.sticky-header .mob-bottom-boder { border-bottom: 1px solid #fff; }

.mobile-sticy-bottom-menu,
.mobile-sticy-bottom-menu-form {
  width: 100%;
  position: fixed;
  z-index: 99;
  bottom: 0;
  text-align: center;
  background-color: #DF7D6F;
  border-top: 1px solid #000;
}
.mobile-sticy-bottom-menu-form button {
  background: #000 !important;
  height: 50px;
  color: #fff !important;
  width: 100%;
}
.mobile-sticy-bottom-menu-form input { height: 50px; }
.mobile-sticy-bottom-menu a { font-size: 14px; color: #fff !important; }
.mobile-sticy-bottom-menu a i { font-size: 18px; color: #fff !important; }

.whatsapp-float-btn,
.phone-float-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  line-height: 40px;
  left: 15px;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 11;
  transition: .5s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.whatsapp-float-btn { bottom: 80px;  background-color: #25d366; }
.phone-float-btn    { bottom: 140px; background-color: #DF7D6F; }
.whatsapp-float-btn i,
.phone-float-btn i { color: #fff !important; }

@media (max-width: 767px) {
  .whatsapp-float-btn,
  .phone-float-btn { display: none !important; }
}

.blog-social-icon {
  width: 30px;
  height: 30px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.blog-social-icon i {
  color: #000 !important;
  line-height: 1px !important;
  font-size: 15px;
}
.font-16-blog { font-size: 14px; }

ul.breadCrumb { margin: 0; padding: 0; }
ul.breadCrumb li {
  color: #DF7D6F;
  font-size: 18px;
  margin: 0;
  padding: 0;
  display: inline-block;
}
ul.breadCrumb li a { color: #DF7D6F !important; }

.bg-banner-other-pages { position: relative; }
.breadCrumb           { position: absolute; bottom: 20px; }

.g-icon-review { width: 100px; }

.testimonials-box p {
  height: 75px;
  overflow-y: auto;
}
.testimonials-box p::-webkit-scrollbar { width: 6px; }
.testimonials-box p::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
.testimonials-box p::-webkit-scrollbar-thumb:hover { background: #666; }
.testimonials-box p::-webkit-scrollbar-track {
  background: #222;
  border-radius: 4px;
}
.testimonials-text p {
  font-size: 10px;
  height: auto !important;
  margin-bottom: 0 !important;
  margin-top: 5px !important;
}

#closeForm {
  color: #000 !important;
  position: absolute;
  border: 1px solid #000;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  top: 15px;
  right: 30px;
  cursor: pointer;
  line-height: 2;
}
#closeForm:hover {
  color: #DF7D6F !important;
  background-color: #000 !important;
}

h2 {
  font-weight: 600 !important;
  font-size: 3em !important;
}

.featured-text   { margin-bottom: 0.5rem !important; }
.counter .number {
  margin: 0;
  font-size: 25px;
  color: #DF7D6F;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media only screen and (max-width: 767px) {
  .sec-5text h1 { font-size: 30px !important; }
  h2            { font-size: 40px !important; }
  .manage-blog-img-ne { height: 275px !important; }
  .bg-banner-other-pages {
    padding-top: 130px;
    padding-bottom: 50px;
  }
  ul.breadCrumb li { font-size: 12px; }
  .logo            { width: 115px !important; }
  header .btn-appointment { font-size: 11px !important; }
  .about .mt-100   { margin-top: 10px; }
  .mobile-counter  { margin-left: 0 !important; margin-right: 0 !important; }
  footer           { padding-bottom: 85px; }
  .img-over-close  { height: 20px; width: 20px; }
  .img-over-close button { font-size: 12px; }
}

/* ===== Slide-in mobile menu modal ===== */
.modal.left .modal-dialog {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  margin: 0;
  width: 300px;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
}
.modal.left.show .modal-dialog { transform: translateX(0); }
.modal-content { height: 100%; border-radius: 0; }
.modal-backdrop { height: 100vh; }

.mobile-nav {
  background: #000;
  width: 100%;
  padding: 10px 0;
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav ul li { position: relative; }
.mobile-nav ul li a {
  display: block;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.mobile-nav ul li a:hover { background: #1c1c1c; }
.mobile-nav ul li.drop-down > a {
  position: relative;
  cursor: pointer;
}
.mobile-nav ul li.drop-down > a::after {
  content: "\f078";
  font-family: FontAwesome;
  padding-left: 10px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
}
.mobile-nav ul li.drop-down > a.open::after { content: "\f077"; }
.mobile-nav ul li ul {
  display: none;
  background: #1c1c1c;
  padding-left: 10px;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 0;
  opacity: 0;
}
.mobile-nav ul li ul ul { padding-left: 20px; }
.mobile-nav ul li ul.show {
  display: block;
  max-height: 100%;
  opacity: 1;
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em;
  color: #fff;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
  border: 0;
  border-radius: .25rem;
  opacity: .5;
}

.modal-body { background-color: #000; }

#generated-captcha {
  display: inline-block;
  padding: 7px 17px;
  border-radius: 0 !important;
  font-weight: bold;
  background: #f3f3f3 !important;
  top: 6px !important;
  right: 6px !important;
}

/* ============================================================
   Sticky-bar auto-hide when footer comes into view
   The desktop sticky enquiry bar (#stickyBar) was overlapping
   the new pre-footer CTA + footer columns. Hide it gracefully
   when the CTA enters the viewport (toggled by IntersectionObserver
   in script.blade.php).
   ============================================================ */
.sticky-bar-container {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              opacity   .25s ease;
  will-change: transform;
}
.sticky-bar-container.is-hidden-by-footer {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
