/* c:/WEBOXIA workspace/SKINNOVA/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #b20c84;        
  --secondary: #ef029f;     
  --accent: #edebd7;         
  --text-dark: #2b2d42;
  --text-light: #8d99ae;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --transition: all 0.3s ease;
  
  /* New Header Tokens */
  --header-bg: #f2e8d9;
  --header-text: #4a4a4a;
  --header-accent: #b47b64;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  scroll-padding-top: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

/* Topbar */
.topbar {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(178,12,132,0.2);
}

@media (max-width: 991px) {
  .topbar {
    display: none !important;
  }
}

.topbar a {
  color: var(--header-text);
  font-size: 14px;
  margin-right: 20px;
  text-decoration: none;
  font-weight: 500;
}

.topbar a i, .topbar span i {
  color: var(--primary);
  margin-right: 8px;
}

.topbar a:hover {
  color: var(--primary);
  letter-spacing: 1px;
}

.topbar-social a {
  margin-right: 0;
  margin-left: 15px;
  font-size: 16px;
}

/* Header Sticky Setup */
header.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  transition: all 0.3s ease;
  background-color: var(--header-bg);
}

/* Navbar */
.navbar {
  padding: 0px 0;
  transition: var(--transition);
  background: var(--header-bg);
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
}

.navbar.scrolled {
  padding: 5px 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--header-text) !important;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 80px;
  width: auto;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  width: 0.5rem;
  height: 0.5rem;
  border: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.nav-link {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--header-text) !important;
  margin: 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  background-color: var(--header-bg);
  border-top: 3px solid var(--header-accent) !important;
  padding: 15px 0;
  margin-top: 0;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 25px;
  color: var(--header-text);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(180, 123, 100, 0.1);
  color: var(--header-accent);
  padding-left: 30px;
}

/* Hover Dropdown for Desktop */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness for Header */
@media(max-width:1199px){
  .nav-link{
    margin: 0 10px;
  }
}
@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }
  
  .navbar-brand img {
    max-height: 70px;
  }

  .navbar-collapse {
    background: var(--header-bg);
    padding: 20px;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .navbar-toggler {
    border-color: var(--header-accent) !important;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(74, 74, 74, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  .nav-link {
    margin: 8px 0;
    font-size: 15px;
  }

  .dropdown-menu {
    background-color: transparent;
    border: none !important;
    padding: 0 0 0 15px;
    box-shadow: none !important;
    margin-bottom: 15px;
  }

  .dropdown-item {
    padding: 8px 0;
    font-size: 14px;
  }

  .dropdown-item:hover {
    background: transparent;
    padding-left: 5px;
  }
}

.btn-custom {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 12px 32px;
  /* border-radius: 50px; */
  font-weight: 600;
  border: none;
  box-shadow: 0 8px 18px rgba(178, 12, 132, 0.25);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom i{
  background: #fff;
  padding: 8px;
  color: #b20c84;
  font-size: 18px;
  border-radius: 5px;
  margin-left: -10px;
  margin-right: 10px;
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-custom:hover::before {
  opacity: 1;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(239, 2, 159, 0.4);
  color: var(--white) !important;
}

.btn-outline-custom {
  background-color: transparent;
  color: #b20c84;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(178,12,132,0.9);
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.btn-outline-custom:hover {
  background-color: #b20c84;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 10px 20px rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* Hero Section (Static Fallback) */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15, 76, 92, 0.8), rgba(15, 76, 92, 0.8)), url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  color: var(--white);
  margin-top: 76px; /* navbar height compensation */
}

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  /* height: 100vh; */
  /* min-height: 600px; */
  margin-top: 115px;
  overflow: hidden;
  /* background-color: var(--primary); */
}

.hero-slider .carousel-item {
  height: calc(100vh - 115px);
  min-height: 600px;
  overflow: hidden;
}

.carousel-inner {
  overflow: hidden;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(178, 12, 132, 0.1); */
  z-index: 1;
}

.hero-slider .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  z-index: 2;
  text-align: left;
  padding-bottom: 0;
}

.hero-slider h1 {
  color: var(--white);
  font-size: 4.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-slider p.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.carousel-indicators {
  z-index: 3;
}

/* Section styling */
.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* Custom About Grid Layout */
.about-grid-wrapper {
  position: relative;
  height: 500px;
  width: 100%;
}

.about-img-tl {
  position: absolute;
  top: 10%;
  left: 0;
  width: 48%;
  height: 40%;
  border-radius: 40px 0 40px 40px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-img-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 55%;
  border-radius: 60px 60px 0 60px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-img-bl {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 35%;
  height: 40%;
  border-radius: 60px 0 60px 60px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-box-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 40%;
  background-color: #ffe1f6;
  border: 1px solid #b20c84;
  border-radius: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.about-box-br h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #b20c84;
  margin-bottom: -10px;
  font-family: var(--font-primary);
}

.about-box-br p {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
}

.about-diamond {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 40px;
  height: 40px;
  background-color: #b20c84;
  border-radius: 8px;
  z-index: 2;
}

.about-grid-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-label-wrapper {
  display: inline-block;
  position: relative;
  padding: 5px 15px;
  margin-bottom: 20px;
}

.about-label-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    #f6d6ed,
    #f7c6e7 5px,
    #ffffff 5px,
    #ffffff 10px
  );
  z-index: -1;
}

.about-label-text {
  color: #ef029f;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-primary);
}

.btn-green {
  background-color: #b20c84;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background-color: #ef029f;
  color: white;
}
.home-about-text h2{
  font-size: 2rem;
  font-weight: 800;
}
.home-about-text p{
   font-size: 1.07rem;
   line-height: 1.8;
}

/* Premium Card (Treatments) */
.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 15px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: var(--transition);
  height: 100%;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--secondary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--secondary);
  color: var(--white);
}

/* Doctors Preview Section */
.doctors-preview {
  /* background: linear-gradient(135deg, #fff7fd 0%, #ffeef6 100%); */
  position: relative;
  overflow: hidden;
}

.arch-image-container {
  /* width: 350px; */
  width: 500px;
  height: 500px;
  border-radius: 250px;
  overflow: hidden;
  background-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.arch-image-container:hover .arch-img {
  transform: scale(1.05);
}

.rotating-badge {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 40px;
  right: -70px;
  z-index: 999;
}

.stamp-svg {
  width: 100%;
  height: 100%;
  animation: rotate-stamp 20s linear infinite;
}

@keyframes rotate-stamp {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.doctors-preview h3{
  font-size: 19px;
  margin-bottom: 10px;
  color: #222;
  font-weight: 700;
}
.doctors-preview h4{
  font-size: 17px;
  margin-bottom: 20px;
}
.doctors-preview p{
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}
.doctors-preview a {
  padding: 12px 30px;
  background: var(--primary);
  color: var(--white) !important;
  border: 1px solid var(--primary);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  font-weight: 600;
}

.doctors-preview a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(178, 12, 132, 0.2);
}
/* Footer */
.footer {
  background-color: #feeef6;
  color: #333;
  padding: 60px 0 15px;
  border-top: 1px solid rgba(178, 12, 132, 0.1);
}

.footer-top-tier {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(178, 12, 132, 0.1);
}

.footer-bottom-tier {
  padding-bottom: 30px;
}

.footer-logo {
  max-height: 60px;
  width: auto;
}

.footer-title-sm {
  color: #333; 
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  display: block;
}

.footer-title-lg {
  color: #333;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: var(--font-primary);
}

.footer-info-text {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-info-text strong {
  color: #222;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #555;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(178, 12, 132, 0.1);
  padding: 10px;
  margin-top: 20px;
  color: #777;
  font-size: 0.95rem;
}

.footer-bottom .row {
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  width: 35px;
  height: 35px;
  margin-right: 10px;
  transition: var(--transition);
}

.footer .social-links a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(178, 12, 132, 0.2);
}

/* .footer-bottom {
  border-color: rgba(178, 12, 132, 0.1) !important;
  color: #666;
  font-size: 0.9rem;
} */

/* Inner Page Header */
.page-header {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  color: var(--white);
  margin-top: 125px; 
  overflow: hidden;
  z-index: 1;
}

.page-header-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
  z-index: -1;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 15px;
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color:var(--secondary);
  font-weight: 600;
}

.breadcrumb-item.active {
  color: rgba(255,255,255,0.6);
}
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* Gallery styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 76, 92, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
} */

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Accordion Custom */
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--accent);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,.125);
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  border-radius: 10px !important;
  overflow: hidden;
}
.accordion-button {
  font-weight: 500;
  padding: 20px;
}

/* Contact Details Card */
.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.info-content h5 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-content p {
  color: var(--text-light);
  margin: 0;
}
.info-content p:hover{
   color: #b20c84;
}

/* Vertical Floating Stack Model */
.floating-stack {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.float-sm-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.float-sm-btn:hover {
  transform: scale(1.15) translateY(-3px);
  color: white;
}

.fb-btn { background: #1877F2; }
.ig-btn { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.wa-btn { background: #25D366; }

.float-main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--primary);
  font-size: 28px;
  box-shadow: 0 6px 15px rgba(178, 12, 132, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  margin-top: 5px;
}

.float-main-btn:hover {
  transform: scale(1.1) translateY(-3px);
  color: white !important;
}

/* Pulsating Animation for Main Button */
.pulse-primary {
  box-shadow: 0 0 0 0 rgba(178, 12, 132, 0.7);
  animation: pulse-primary-anim 2s infinite;
}

@keyframes pulse-primary-anim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(178, 12, 132, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(178, 12, 132, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(178, 12, 132, 0); }
}

/* Floating Actions Mobile Fix */
@media (max-width: 576px) {
  .floating-stack {
    bottom: 20px;
    right: 15px; /* Tighter for mobile */
    gap: 10px;
  }
  .float-sm-btn {
    display: flex !important; /* Ensure visibility */
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .float-main-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .hero-slider, .page-header {
    margin-top: 80px !important;
  }
  .hero-slider h1, .hero h1 { font-size: 3.5rem; }
  .page-header h1 { font-size: 2.5rem; }
  .purpose-title h2 { font-size: 2.5rem; }
  .team-header h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .hero-slider, .page-header {
    margin-top: 80px !important;
  }
  .hero-slider h1, .hero h1 { font-size: 2.5rem; }
  .hero-slider p.lead { font-size: 1.1rem; }
  .section-padding { padding: 60px 0; }
  .floating-stack { bottom: 20px; right: 20px; }
  .float-sm-btn { width: 40px; height: 40px; font-size: 18px; }
  .float-main-btn { width: 50px; height: 50px; font-size: 24px; margin-top: 3px; }
  .section-title h2 { font-size: 2rem; }
  
  .hero-slider .carousel-item {
    height: auto;
    min-height: 500px;
  }
  
  .page-header {
    padding: 120px 0 60px;
    margin-top: 100px;
  }
  
  .footer-links.two-columns {
    grid-template-columns: 1fr;
  }
  
  .purpose-section {
    text-align: center;
    padding: 60px 0;
  }
  
  .purpose-title h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  
  .team-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .team-header p {
    margin: 0 auto;
  }
  
  .team-nav {
    justify-content: center;
  }
  
  .custom-pills {
    flex-direction: row !important;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    flex-wrap: nowrap;
  }
  
  .custom-pills .nav-link {
    margin: 0 5px 0 0;
    padding: 10px 20px !important;
    flex-shrink: 0;
  }
}

@media (max-width: 576px) {
  .hero-slider h1, .hero h1 { font-size: 2.3rem; }
  .hero-slider .carousel-caption { padding: 0 15px; }
  .btn-custom, .btn-outline-custom { padding: 8px 20px; font-size: 0.9rem; }
  .hero-slider .carousel-item {
    min-height: 400px;
  }
  .page-header h1 { font-size: 1.8rem; }
  .navbar-brand img { max-height: 65px; }
  
  .about-box-br h2 { font-size: 3rem; }
  
  .arch-image-container {
    width: 280px !important;
    height: 350px !important;
    border-radius: 140px !important;
  }
}

/* HOME STATISTICS */
.statistics {
   background: var(--primary);
}
.statistics h2{
  color: #fff;
}

/* ABOUT PAGE REDESIGN */
.purpose-section {
  background: linear-gradient(135deg, #f0f7f2 0%, #fffef0 100%);
  padding: 80px 0;
  overflow: hidden;
}

.purpose-title h2 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 300;
  color: #2b2d42;
  line-height: 1.3;
}

.purpose-title h2 span {
  font-style: italic;
  font-weight: 700;
  display: block;
  color: #b20c84;
}

.purpose-images-wrapper {
  position: relative;
  height: 500px;
  width: 100%;
}

.purpose-img-container {
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.purpose-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-img {
  width: 320px;
  height: 450px;
  border-radius: 160px;
  position: absolute;
  top: 0;
  right: 0; /* Changed from -50px to 0 to prevent overflow */
  z-index: 2;
}

.sub-img {
  width: 250px;
  height: 250px;
  border-radius: 125px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.purpose-badge-rotating {
  width: 150px;
  height: 150px;
  position: absolute;
  bottom: 120px;
  left: 20px;
  z-index: 3;
}

.purpose-badge-rotating svg {
  width: 100%;
  height: 100%;
  animation: rotate-badge 20s linear infinite;
}

.purpose-badge-rotating textPath {
  font-family: var(--font-primary);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  fill: #333;
}

@keyframes rotate-badge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.purpose-item h5 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.purpose-item p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* TEAM SLIDER SECTION */
.team-slider-section {
  padding: 80px 0;
  background-color: #fff;
}

.team-header h2 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 300;
  color: #2b2d42;
  margin-bottom: 30px;
}

.team-header h2 span {
  font-style: italic;
  font-weight: 700;
}

.team-header p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 450px;
  width: 100%;
}

.team-swiper {
  padding: 20px 0 60px !important;
}

.team-card {
  text-align: left;
  transition: transform 0.3s ease;
}

.team-img-wrapper {
  width: 250px;
  height: 350px;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  background-color: #f8f9fa;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h4 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.team-info h4 span{
  font-size: 1rem;
  color: #333;
}

.team-info p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.4;
}

.team-nav {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.team-nav-btn {
  width: 45px;
  height: 45px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.team-nav-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.team-nav-btn.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ABOUT PAGE */
.about h2{
  font-size: 3.5rem;
  letter-spacing: 1px;
}
.about p{
  line-height: 1.7;
  letter-spacing: 0.5px;
}

/* TREATMENTS */
.treatments-section .card-body img{
  width: 100px;
  height: 100px;
  border-radius: 50%; 
  margin-bottom: 10px;
}
.treatments-section .card-title h5{
  font-size: 20px; 
}
.treatment h2{
  font-size: 30px;
}
.treatment img{
  width: 80%;
}
@media(max-width:768px){
  .treatment img{
    width: 100%;
  }
}

/* Premium CTA Section */
.cta-premium-section {
  position: relative;
  background: url('../img/cta-premium-bg.png') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
  overflow: hidden;
  z-index: 1;
}

.cta-premium-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2); 
  z-index: -1;
}

.cta-premium-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 300;
  text-transform: none;
}

.cta-premium-title span {
  display: block;
}

.cta-italic {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 4.5rem;
  font-weight: 400;
  margin-top: 10px;
}

.btn-cta-premium {
  display: inline-block;
  padding: 14px 45px;
  background: transparent;
  color: #b20c84;
  border: 1.5px solid #b20c84;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  text-transform: none;
  font-size: 1.1rem;
}

.btn-cta-premium:hover {
  background: #b20c84;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
  .cta-premium-title {
    font-size: 2.8rem;
  }
  .cta-italic {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .cta-premium-title {
    font-size: 2.1rem;
  }
  .cta-italic {
    font-size: 2.8rem;
  }
  .cta-premium-section {
    padding: 80px 0;
  }
  .btn-cta-premium {
    padding: 12px 35px;
    font-size: 1rem;
  }
}

/* Gallery Redesign Styles */
.gallery-tabs {
  margin-top: 20px;
}

.gallery-tab-btn {
  padding: 12px 35px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #333;
}

.gallery-tab-btn.active {
  background: #b20c84;
  color: #fff;
  border-color: #b20c84;
}

.gallery-tab-btn:hover:not(.active) {
  border-color: #b20c84;
  background: rgba(0,0,0,0.05);
}

.gallery-tab-pane {
  display: none;
}

.gallery-tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.gallery-category-card {
  cursor: pointer;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-img-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f5f5f5;
}

.category-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-overlay i {
  color: #fff;
  font-size: 2rem;
}

.gallery-category-card:hover .category-img-wrapper img {
  transform: scale(1.05);
}

.gallery-category-card:hover .category-overlay {
  opacity: 1;
}

.category-info {
  padding: 20px 0;
}

.category-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
  font-family: var(--font-primary);
}

.category-info p {
  color: #888;
  font-size: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .category-info h3 { font-size: 1.25rem; }
  .gallery-tab-btn { padding: 10px 25px; font-size: 0.9rem; }
}