
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Custom animation timing for better UX */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

/* Fix for any potential z-index issues */
.relative.z-10 {
  position: relative;
  z-index: 10;
}
.sub_title h2 {
  margin-top:1rem !important;
  margin-bottom:0.5rem !important;

}
.sub_title p {
  margin-bottom:0rem !important;
  margin-top:0rem !important;
  font-size:1rem !important;
}

.page-content h2, .page-content h3{
  margin-bottom:0.5rem !important;
}

.image-style-side {
  float: right; /* or left if you want left-aligned */
  margin: 0 0 1em 0; /* spacing around image */
  
  max-width: 46% !important; /* optional */
}

/* Ensure form elements have proper focus states */
input:focus, textarea:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
.testimonial-carousel {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.details p{
  font-weight: 500;
  font-size:1.1rem;
}



.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 70%; */
  /* object-fit: cover; */
  z-index: -1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.bg-default-silverline{
  background-color: #118888 !important; 
}

.silverline-color{
  color: #118888 !important; 
}
.glow-text {
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(1);
  }

  50% {
      transform: scale(1.05);
  }

  100% {
      transform: scale(1);
  }
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.testimonial-card {
  min-height: 300px;
}

.appointment {
  background-image: url('assets/pattern.png');
  background-size: cover;
  background-position: center;
}
.about-banner{
  height:550px;
}


@media (max-width: 768px) {
  .mobile-menu {
      display: none;
  }

  .mobile-menu.active {
      display: block;
  }
}


.h-128 {
  height: 50rem;

  /* 512px */
  @keyframes fade-in {
      from {
          opacity: 0;
      }

      to {
          opacity: 1;
      }
  }

  @keyframes slide-up {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .animate-fade-in {
      animation: fade-in 1s ease-out forwards;
  }

  .animate-slide-up {
      animation: slide-up 0.8s ease-out forwards;
  }

  .delay-100 {
      animation-delay: 100ms;
  }

  .delay-200 {
      animation-delay: 200ms;
  }

  .delay-300 {
      animation-delay: 300ms;
  }

  .delay-400 {
      animation-delay: 400ms;
  }

  .delay-500 {
      animation-delay: 500ms;
  }

  .delay-600 {
      animation-delay: 600ms;
  }

  .delay-700 {
      animation-delay: 700ms;
  }

  .delay-800 {
      animation-delay: 800ms;
  }

  .delay-900 {
      animation-delay: 900ms;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes progress {
  from { width: 0; }
  to { width: 100%; }
}
.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}
.animate-slide-up {
  animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-progress {
  animation: progress 1.5s ease-out forwards;
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* About Section Custom Styles */
.about {
  font-family: 'Inter', sans-serif; /* Modern font */
  color: #1f2937; /* Base text color */
  line-height: 1.8;
}

/* H2 Modern Focused Style */
.about h2 {
  font-size: 2.2rem !important;
  font-weight: 800;
  color: #111827; /* Dark heading */
  position: relative;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Accent underline / focus line */
.about h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #4f46e5; /* Accent color */
  margin-top: 0.5rem;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Hover / focus effect */
.about h2:hover::after {
  width: 100px;
}

/* Paragraph Styling */
.about p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #374151;
  line-height: 1.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Links inside about */
.about a {
  color: #4f46e5;
  text-decoration: underline;
  transition: color 0.3s ease, transform 0.3s ease;
}

.about a:hover {
  color: #4338ca;
  transform: translateY(-2px);
}

/* UL / OL Styling */
.about ul, .about ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 0.75rem;
}

.about li::before {
  content: '•';
  color: #4f46e5;
  position: absolute;
  left: -1rem;
  top: 0;
  font-size: 1.25rem;
  line-height: 1;
}

/* Blockquote Styling */
.about blockquote {
  border-left: 4px solid #4f46e5;
  padding-left: 1rem;
  color: #6b7280;
  font-style: italic;
  margin: 1.5rem 0;
  background-color: #f9fafb;
  border-radius: 4px;
}

/* Images */
.about img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.about img:hover {
  transform: scale(1.03);
}

/* Responsive Typography */
@media (min-width: 768px) {
  .about h2 {
    font-size: 2.75rem;
  }

  .about p {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .about h2 {
    font-size: 3rem;
  }

  .about p {
    font-size: 1.35rem;
  }
}

/* AOS Animations (fade + slide) */
.about [data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition-property: transform, opacity;
}

.about [data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}



/* About Section UL and Titles for White Background */
/* Ribbon style H3/H4 */
.about h3,
.about h4 {
  display: inline-block;
  position: relative;
  padding: 0.1rem 1rem;           /* Inner padding */
  font-weight: 700;
  font-size: 1.1rem !important;
  color: #ffffff;
  background: linear-gradient(135deg, #10868a, #666666); /* Gradient */
  margin-bottom: 1.5rem;
  line-height: 1.2;
  z-index: 1;
}

/* Left triangle */
.about h3::before,
.about h4::before {
  content: '';
  position: absolute;
  left: -15px;                      /* triangle offset */
  top: 0;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-right: 15px solid #10868a; /* gradient start color */
  z-index: 0;
}

/* Right triangle */
.about h3::after,
.about h4::after {
  content: '';
  position: absolute;
  right: -15px;                     /* triangle offset */
  top: 0;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 15px solid #666666; /* gradient end color */
  z-index: 0;
}

/* Adjust ribbon height to match text */
.about h3,
.about h4 {
  line-height: 2.5rem;  /* match triangles height */
  border-radius: 4px;
}

/* Hover effect */
.about h3:hover,
.about h4:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
}

/* Responsive */
@media (min-width: 768px) {
  .about h3 { font-size: 1.8rem; line-height: 3rem; }
  .about h4 { font-size: 1.5rem; line-height: 3rem; }
}

@media (min-width: 1024px) {
  .about h3 { font-size: 2rem; line-height: 3.2rem; }
  .about h4 { font-size: 1.75rem; line-height: 3.2rem; }
}



/* UL Styling */
.about ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.about li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: #374151; /* medium dark text */
  line-height: 1.7;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Custom Bullet */
.about li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #3b82f6; /* soft blue accent */
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect on li */
.about li:hover::before {
  transform: scale(1.3);
  color: #2563eb; /* darker blue on hover */
}

.about li:hover {
  transform: translateX(2px);
  color: #111827; /* darker text on hover */
}

/* Nested UL / OL */
.about li ul,
.about li ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}

/* Responsive Typography */
@media (min-width: 768px) {
  .about h3 { font-size: 1.8rem; }
  .about h4 { font-size: 1.5rem; }
  .about li { font-size: 1.2rem; }
  .about li::before { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
  .about h3 { font-size: 2rem; }
  .about h4 { font-size: 1.75rem; }
  .about li { font-size: 1.25rem; }
  .about li::before { font-size: 1.9rem; }
}

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

.animate-spin-slow {
  animation: spin-slow 12s linear infinite; /* slow & smooth */
}