/* ================================
   Dr. Dalal's Diabetes Care
   Custom Stylesheet
================================ */

:root {
  --primary: #0d6efd;
  --primary-dark: #0747a6;
  --primary-light: #e3f0ff;
  --secondary: #16c79a;
  --secondary-dark: #0fa07c;
  --accent: #ff9f43;
  --accent-dark: #f07f14;
  --dark: #0f2c4a;
  --gray: #6c757d;
  --light: #f8fafc;
  --white: #ffffff;
  --text: #4a5568;
  --shadow-sm: 0 2px 8px rgba(15, 44, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 44, 74, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 44, 74, 0.12);
  --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #16c79a 100%);
  --gradient-warm: linear-gradient(135deg, #ff9f43 0%, #ee5253 100%);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.4);
}

.btn-warning {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 6px 18px rgba(255, 159, 67, 0.3);
}

.btn-warning:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-width: 2px;
}

.section-padding {
  padding: 100px 0;
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 50px;
  font-family: 'Poppins', sans-serif;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.section-title {
  font-size: 42px;
  margin-bottom: 18px;
  font-weight: 700;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
}

.lead-text {
  font-size: 17px;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ================================
   Top Bar
================================ */
.top-bar {
  background: var(--dark);
  color: white;
  padding: 10px 0;
  font-size: 13px;
}

.top-info .list-inline-item {
  margin-right: 22px;
}

.top-info i {
  color: var(--secondary);
  margin-right: 6px;
}

.top-social a {
  color: white;
  margin-left: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.top-social a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* ================================
   Navbar
================================ */
.navbar {
  padding: 14px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  display: block;
  line-height: 1;
}

.brand-sub {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark);
  padding: 8px 16px !important;
  font-size: 15px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

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

.btn-appointment {
  padding: 10px 22px !important;
  font-size: 14px;
  white-space: nowrap;
}

/* ================================
   Hero Section
================================ */
.hero-section {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 700px;
  background-size: cover;
  background-position: center;
}

.min-vh-80 {
  min-height: 700px;
}

.hero-slide-1 {
  background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1920&q=80');
}

.hero-slide-2 {
  background-image: url('https://images.unsplash.com/photo-1638272181967-7d3772a91265?auto=format&fit=crop&w=1920&q=80');
}

.hero-slide-3 {
  background-image: url('https://images.unsplash.com/photo-1559757175-5700dde675bc?auto=format&fit=crop&w=1920&q=80');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 44, 74, 0.92) 0%, rgba(13, 110, 253, 0.75) 60%, rgba(22, 199, 154, 0.4) 100%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-badge i {
  color: var(--accent);
  margin-right: 6px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions .btn {
  margin-top: 8px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: 2px solid white !important;
  background-color: transparent !important;
  margin: 0 6px !important;
  opacity: 1 !important;
}

.carousel-indicators button.active {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* ================================
   Info Cards
================================ */
.info-cards-section {
  margin-top: -80px;
  position: relative;
  z-index: 5;
  padding-bottom: 60px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.info-card:hover {
  transform: translateY(-8px);
}

.info-card-primary { border-top-color: var(--primary); }
.info-card-secondary { border-top-color: var(--secondary); }
.info-card-accent { border-top-color: var(--accent); }

.info-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.info-card-primary .info-icon { background: var(--gradient-primary); }
.info-card-secondary .info-icon { background: linear-gradient(135deg, var(--secondary), #0fa07c); }
.info-card-accent .info-icon { background: var(--gradient-warm); }

.info-card h5 {
  margin-bottom: 6px;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.info-card p {
  font-size: 14px;
  color: var(--text);
}

/* ================================
   About Section
================================ */
.about-image-wrapper {
  position: relative;
  padding: 0 0 60px 60px;
}

.about-image-wrapper .main-image {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-image-wrapper .secondary-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  border-radius: 20px;
  border: 8px solid white;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 18px;
  padding: 20px 25px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.3);
}

.experience-badge h2 {
  font-size: 40px;
  color: white;
  margin: 0;
  font-weight: 800;
}

.experience-badge h2 span {
  color: var(--accent);
}

.experience-badge p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.feature-list i {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 18px;
}

/* ================================
   Stats Section
================================ */
.stats-section {
  background: var(--gradient-primary);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
}

.stat-item {
  position: relative;
  z-index: 2;
}

.stat-item i {
  font-size: 42px;
  margin-bottom: 12px;
  color: var(--accent);
}

.stat-item h2 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 500;
}

/* ================================
   Services Section
================================ */
.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 1px solid #f0f4f8;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 22px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(360deg);
}

.service-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

.service-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 18px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.service-link i {
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.service-link:hover {
  color: var(--secondary);
}

.service-link:hover i {
  transform: translateX(6px);
}

/* ================================
   Doctor Section
================================ */
.doctor-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doctor-image-wrapper img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.doctor-experience {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.4);
}

.doctor-experience h3 {
  color: white;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.doctor-experience p {
  margin: 4px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.qualification-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
}

.qualification-item i {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.qualification-item h6 {
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.qualification-item small {
  color: var(--gray);
  font-size: 13px;
}

/* ================================
   Facilities Section
================================ */
.facility-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover img {
  transform: scale(1.1);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 44, 74, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: white;
}

.facility-overlay h5 {
  color: white;
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.facility-overlay p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

/* ================================
   Why Choose Section
================================ */
.why-choose-section {
  background: var(--light);
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.why-feature h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 18px;
}

.why-feature p {
  color: var(--text);
  margin: 0;
  font-size: 14px;
}

/* ================================
   Testimonials
================================ */
.testimonial-carousel {
  padding: 0 60px;
}

.testimonial-card {
  background: white;
  padding: 36px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
  border: 1px solid #f0f4f8;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 24px;
  font-size: 100px;
  color: var(--primary-light);
  font-family: serif;
  line-height: 1;
}

.testimonial-rating {
  margin-bottom: 14px;
}

.testimonial-rating i {
  color: var(--accent);
  font-size: 15px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #eef2f7;
  padding-top: 18px;
}

.testimonial-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.testimonial-author h6 {
  margin: 0 0 2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.testimonial-author small {
  color: var(--gray);
  font-size: 13px;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
}

.testimonial-carousel .carousel-control-prev { left: 0; }
.testimonial-carousel .carousel-control-next { right: 0; }

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  width: 30px;
  height: 30px;
  padding: 8px;
}

/* ================================
   Appointment Section
================================ */
.appointment-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.appointment-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.08;
}

.appointment-section .container {
  position: relative;
  z-index: 2;
}

.appointment-section .section-subtitle::before {
  background: var(--accent);
}

.appointment-contact {
  margin-top: 30px;
}

.appointment-contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.appointment-contact-item i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.appointment-contact-item small {
  display: block;
  opacity: 0.7;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.appointment-contact-item h6 {
  color: white;
  margin: 4px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
}

.appointment-form {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.appointment-form h3 {
  font-size: 26px;
  font-weight: 700;
}

.appointment-form .form-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--dark);
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.form-control-lg,
.form-select-lg {
  padding: 14px 18px;
  font-size: 15px;
}

/* ================================
   Blog Section
================================ */
.blog-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #f0f4f8;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.blog-date strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.blog-content {
  padding: 26px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--gray);
}

.blog-meta i {
  color: var(--primary);
  margin-right: 4px;
}

.blog-content h5 {
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

.blog-content h5 a {
  color: var(--dark);
}

.blog-content h5 a:hover {
  color: var(--primary);
}

.blog-content p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 18px;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.read-more i {
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--secondary);
}

.read-more:hover i {
  transform: translateX(6px);
}

/* ================================
   Contact Section
================================ */
.contact-info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid var(--primary);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-info-card i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 18px;
  display: inline-block;
  background: var(--primary-light);
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
}

.contact-info-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: var(--text);
  margin: 0;
}

.contact-form {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 450px;
}

.map-wrapper iframe {
  display: block;
  height: 100%;
  min-height: 450px;
}

/* ================================
   Newsletter
================================ */
.newsletter-section {
  background: var(--gradient-primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
}

.newsletter-section .container {
  position: relative;
  z-index: 2;
}

.newsletter-section h3 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.newsletter-form .input-group {
  background: white;
  padding: 6px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
}

.newsletter-form .form-control {
  border: none;
  background: transparent;
  padding-left: 22px;
  box-shadow: none !important;
}

.newsletter-form .btn {
  border-radius: 50px !important;
}

/* ================================
   Footer
================================ */
.footer-section {
  background: linear-gradient(135deg, #0a1f35 0%, #0f2c4a 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
}

.footer-section .container {
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-icon-large {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 14px;
}

.footer-brand h4 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0;
  font-size: 26px;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-title {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

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

.footer-links li {
  padding: 6px 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 12px;
  margin-right: 6px;
  color: var(--accent);
}

.footer-links a:hover {
  color: white;
  padding-left: 6px;
}

.footer-contact li {
  padding: 10px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact li:last-child {
  border-bottom: none;
}

.footer-contact i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-left: 16px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ================================
   Floating Buttons
================================ */
.floating-btn {
  position: fixed;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-btn {
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  background: #128C7E;
  color: white;
  transform: scale(1.1);
}

.scroll-top-btn {
  bottom: 100px;
  right: 30px;
  background: var(--primary);
  color: white;
  opacity: 0;
  visibility: hidden;
  font-size: 22px;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-4px);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ================================
   Responsive
================================ */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 32px;
  }
  .hero-title {
    font-size: 40px;
  }
  .min-vh-80, .hero-slide {
    min-height: 600px;
  }
  .section-padding {
    padding: 70px 0;
  }
  .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }
  .btn-appointment {
    width: 100%;
    text-align: center;
  }
  .info-cards-section {
    margin-top: -40px;
  }
  .about-image-wrapper {
    padding: 0 0 40px 40px;
    max-width: 90%;
    margin: 0 auto;
  }
  .testimonial-carousel {
    padding: 0 30px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 26px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-text {
    font-size: 16px;
  }
  .hero-actions .btn {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0 !important;
  }
  .min-vh-80, .hero-slide {
    min-height: 540px;
  }
  .stat-item h2 {
    font-size: 36px;
  }
  .appointment-form,
  .contact-form {
    padding: 25px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
  }
  .scroll-top-btn {
    bottom: 80px;
    right: 20px;
  }
  .top-bar { display: none; }
}
