:root {
  --primary-blue: #2563eb;
  --light-blue: #60a5fa;
  --dark-blue: #1e40af;
  --sky-blue: #e0f2fe;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --hiw-primary-blue: #0056D2;
  --hiw-secondary-blue: #3B82F6;
  --hiw-light-blue: #60A5FA;
  --hiw-pale-blue: #DBEAFE;
  --hiw-white: #FFFFFF;
  --hiw-dark: #1E293B;
  --hiw-gradient: linear-gradient(135deg, #0056D2 0%, #3B82F6 100%);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-gray);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 100px 0;
  position: relative;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding: 1rem 0rem 1rem 0rem;
  }
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
}

.navbar-brand:hover {
  color: var(--dark-blue);
}

.nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-primary {
  background: var(--primary-blue);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-section {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.badge-pill {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.hero-title .highlight {
  color: var(--primary-blue);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
}

.doctor-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 2rem;
  color: var(--primary-blue);
}

.floating-card strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin: 0;
}

.floating-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray);
}

.card-1 {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 10%;
  right: -5%;
  animation-delay: 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
  fill: var(--white);
}

.why-choose-section {
  background: var(--white);
}



.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
}

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--light-blue) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
  font-size: 2rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.feature-text {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 0;
}

.feature-number {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.05);
  line-height: 1;
}

.testimonials-section {
  background: var(--light-gray);
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.rating i {
  color: #fbbf24;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sky-blue);
}

.testimonial-author h5 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.testimonial-author p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray);
}

.faq-section {
  background: var(--white);
}

.accordion-item {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-button {
  background: var(--white);
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1.5rem;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: var(--sky-blue);
  color: var(--primary-blue);
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  color: var(--gray);
  line-height: 1.7;
}

.faq-disclaimer {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fef9c3; /* soft amber */
  border-left: 4px solid #f59e0b;
  font-size: 0.9rem;
  color: #92400e;
}

.faq-disclaimer strong {
  font-weight: 700;
}

@media (max-width: 576px) {
  .faq-disclaimer {
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem;
  }
}

.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact i {
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-image {
    margin-top: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .floating-card {
    padding: 1rem;
  }

  .card-1 {
    left: 0;
  }

  .card-2 {
    right: 0;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .floating-card {
    display: none;
  }

  .footer-title {
    font-size: 1.5rem;
  }
}

.barba-container {
  opacity: 0;
}

.barba-container.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
}

.scroll-animation.animate {
  animation: scrollFadeIn 0.6s ease forwards;
}

@keyframes scrollFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#startCallBtn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  width: auto;
  height: 56px;
  padding: 0 20px;
  background: #1E40AF;
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px 5px rgba(37, 99, 235, 0.4);
  /* blue glow */
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

#startCallBtn img {
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 768px) {
  #startCallBtn {
    display: none;
  }

  .doctor-image-wrapper {
    justify-content: right;
  }
}


.how-it-work-container {
  width: 100%;
  min-height: 100vh;
  padding: 60px 0px 0px 0px;
}

.hiw-hero-section {
  background: var(--hiw-gradient);
  padding: 80px 20px;
  text-align: center;
  color: var(--hiw-white);
  position: relative;
  overflow: hidden;
  animation: hiw-fadeIn 1s ease-in;
}

.hiw-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: hiw-movePattern 20s linear infinite;
}

.hiw-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  animation: hiw-slideDown 0.8s ease-out;
  color: var(--hiw-white);
}

.hiw-hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  animation: hiw-slideDown 1s ease-out;
}

.hiw-price-badge {
  display: inline-block;
  background: var(--hiw-white);
  color: var(--hiw-primary-blue);
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  animation: hiw-pulse 2s infinite, hiw-slideUp 1.2s ease-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hiw-steps-section {
  padding: 80px 20px;
  background: var(--hiw-white);
}

.hiw-section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hiw-primary-blue);
  margin-bottom: 60px;
  animation: hiw-fadeIn 1s ease-in;
}

.hiw-step-card {
  background: var(--hiw-white);
  border-radius: 20px;
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 86, 210, 0.1);
  transition: all 0.4s ease;
  animation: hiw-slideUp 0.8s ease-out;
  animation-fill-mode: both;
}

.hiw-step-card:nth-child(1) {
  animation-delay: 0.1s;
}

.hiw-step-card:nth-child(2) {
  animation-delay: 0.2s;
}

.hiw-step-card:nth-child(3) {
  animation-delay: 0.3s;
}

.hiw-step-card:nth-child(4) {
  animation-delay: 0.4s;
}

.hiw-step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 86, 210, 0.2);
}

.hiw-step-number {
  width: 60px;
  height: 60px;
  background: var(--hiw-gradient);
  color: var(--hiw-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hiw-step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--hiw-primary-blue);
  margin-bottom: 15px;
}

.hiw-step-description {
  color: var(--hiw-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hiw-features-section {
  padding: 80px 20px;
  background: var(--hiw-white);
}

.hiw-feature-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  animation: hiw-fadeIn 1s ease-in;
  animation-fill-mode: both;
}

.hiw-feature-card:nth-child(1) {
  animation-delay: 0.2s;
}

.hiw-feature-card:nth-child(2) {
  animation-delay: 0.4s;
}

.hiw-feature-card:nth-child(3) {
  animation-delay: 0.6s;
}

.hiw-feature-card:nth-child(4) {
  animation-delay: 0.8s;
}

.hiw-feature-card:nth-child(5) {
  animation-delay: 1s;
}

.hiw-feature-icon {
  width: 80px;
  height: 80px;
  background: var(--hiw-gradient);
  color: var(--hiw-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.hiw-feature-card:hover .hiw-feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.hiw-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--hiw-primary-blue);
  margin-bottom: 10px;
}

.hiw-feature-text {
  color: var(--hiw-dark);
  font-size: 1rem;
  line-height: 1.6;
}

.hiw-support-section {
  background: var(--hiw-secondary-blue);
  color: var(--hiw-white);
  padding: 60px 20px;
  text-align: center;
  animation: hiw-fadeIn 1s ease-in;
}

.hiw-support-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--hiw-white);
}

.hiw-support-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hiw-support-email {
  display: inline-block;
  background: var(--hiw-white);
  color: var(--hiw-primary-blue);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.hiw-support-email:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--hiw-primary-blue);
}

.hiw-disclaimer-section {
  background: var(--hiw-pale-blue);
  padding: 60px 20px;
  animation: hiw-fadeIn 1s ease-in;
}

.hiw-disclaimer-box {
  background: var(--hiw-white);
  border-left: 5px solid var(--hiw-primary-blue);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 86, 210, 0.1);
}

.hiw-disclaimer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hiw-primary-blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hiw-disclaimer-text {
  color: var(--hiw-dark);
  font-size: 1rem;
  line-height: 1.7;
}

@keyframes hiw-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hiw-slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hiw-slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hiw-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes hiw-movePattern {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

@media (max-width: 768px) {
  .hiw-hero-title {
    font-size: 2rem;
  }

  .hiw-hero-subtitle {
    font-size: 1.1rem;
  }

  .hiw-section-title {
    font-size: 2rem;
  }

  .hiw-step-title {
    font-size: 1.3rem;
  }
}




@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.form-container {
  display: flex;
  max-width: 1100px;
  /* Increased width */
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 81, 151, 0.15);
  position: relative;
}

.form-left {
  padding: 50px 40px;
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-size: 28px;
  margin: 0 0 10px;
  font-weight: 700;
  color: #0d47a1;
  /* Dark Blue */
}

.form-desc {
  margin: 0 0 30px;
  color: #555;
  font-size: 16px;
}

.input-block {
  margin-bottom: 20px;
  position: relative;
}

input.form-control {
  width: 100%;
  outline: 0;
  border: 1px solid #ddd;
  padding: 12px 15px 12px 45px;
  /* Padded left for icon */
  font-size: 16px;
  border-radius: 8px;
  /* Softer radius */
  font-family: 'Nunito', sans-serif;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.input-block::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}

/* Icons for inputs */
.input-block[data-icon="email"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%230d47a1" viewBox="0 0 16 16"><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13 2.383-4.758 2.855L15 11.114V5.383zM1 11.114l4.758-2.876L1 5.383v5.731zm4.758-2.875L8 9.22l2.242-1.354L13.242 5H2.758l2.999 1.805z"/></svg>');
}

.input-block[data-icon="password"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%230d47a1" viewBox="0 0 16 16"><path d="M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9z"/></svg>');
}

.input-block[data-icon="name"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%230d47a1" viewBox="0 0 16 16"><path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"/></svg>');
}

.input-block[data-icon="address"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%230d47a1" viewBox="0 0 16 16"><path d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A31.493 31.493 0 0 1 8 14.58a31.481 31.481 0 0 1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0 0 1 10 0c0 .862-.305 1.867-.834 2.94zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10z"/><path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>');
}

.input-block[data-icon="image"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%230d47a1" viewBox="0 0 16 16"><path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M2.002 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2h-12zm12 1a1 1 0 0 1 1 1v6.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12V3a1 1 0 0 1 1-1h12z"/></svg>');
}

input.form-control:focus {
  border-color: #3B82F6;
  /* Blue border on focus */
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.form-buttons a {
  color: #3B82F6;
  /* Blue link */
  font-size: 14px;
  text-decoration: none;
}

.input-button {
  padding: 12px 25px;
  outline: none;
  border: 0;
  color: #fff;
  border-radius: 8px;
  background: #3B82F6;
  /* Blue button */
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.input-button:hover {
  background: #2563EB;
  /* Darker blue on hover */
}

.toggle-form {
  margin-top: 30px;
  text-align: center;
}

.toggle-form a {
  color: #3B82F6;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.error-message {
  background-color: #fee;
  color: #c53030;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #feb2b2;
  font-size: 14px;
  display: none;
}

.success-message {
  background-color: #f0fff4;
  color: #2f855a;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #9ae6b4;
  font-size: 14px;
  display: none;
}

.form-right {
  flex: 1.8;
  /* Adjusted flex ratio */
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease-in-out;
}

/* Toasts */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  /* allow clicks through except on toasts */
}

.toast {
  min-width: 280px;
  max-width: 380px;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #0f172a;
  background: #fff;
  border-left: 4px solid #94a3b8;
  animation: toast-in 200ms ease-out;
  pointer-events: auto;
}

.toast-success {
  border-left-color: #22c55e;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-title {
  font-weight: 700;
  margin: 0 0 2px 0;
  font-size: 14px;
}

.toast-message {
  margin: 0;
  font-size: 14px;
  color: #334155;
}

.toast-close {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 16px;
  color: #64748b;
  cursor: pointer;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px) translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }

  to {
    opacity: 0;
    transform: translateY(-8px) translateX(8px);
  }
}

@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
    width: 90%;
    max-width: 450px;
  }

  .form-right {
    display: none;
  }

  .form-left {
    padding: 40px 25px;
  }
}

/* Doctor Image Styles */
.doctor-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

/* Stethoscope Animation */
.stethoscope-container {
  position: relative;
  width: 120px;
  height: 140px;
  margin: 0 auto 30px;
}

.stethoscope {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Ear pieces */
.ear-piece {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 4px solid #2196F3;
  border-radius: 50% 50% 0 0;
  top: 0;
}

.ear-piece.left {
  left: 15px;
  transform: rotate(-30deg);
  animation: pulse 2s ease-in-out infinite;
}

.ear-piece.right {
  right: 15px;
  transform: rotate(30deg);
  animation: pulse 2s ease-in-out infinite 0.2s;
}

/* Tubes */
.tube {
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #2196F3, #1976D2);
  border-radius: 3px;
  top: 25px;
}

.tube.left {
  left: 28px;
  height: 60px;
  transform: rotate(-15deg);
  animation: extend 2s ease-in-out infinite;
}

.tube.right {
  right: 28px;
  height: 60px;
  transform: rotate(15deg);
  animation: extend 2s ease-in-out infinite 0.2s;
}

/* Chest piece (diaphragm) */
.chest-piece {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2196F3, #1976D2);
  border-radius: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
  animation: heartbeat 1.5s ease-in-out infinite;
}

.chest-piece::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chest-piece::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: #2196F3;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: innerPulse 1.5s ease-in-out infinite;
}

/* DNA Helix Animation */
.dna-container {
  width: 100px;
  height: 80px;
  margin: 0 auto 25px;
  position: relative;
}

.dna-strand {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dna-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #2196F3;
  border-radius: 50%;
  animation: dnaMove 3s ease-in-out infinite;
}

.dna-dot:nth-child(1) {
  left: 0;
  animation-delay: 0s;
}

.dna-dot:nth-child(2) {
  left: 25%;
  animation-delay: 0.3s;
}

.dna-dot:nth-child(3) {
  left: 50%;
  animation-delay: 0.6s;
}

.dna-dot:nth-child(4) {
  left: 75%;
  animation-delay: 0.9s;
}

.dna-dot:nth-child(5) {
  right: 0;
  animation-delay: 1.2s;
}

.dna-dot.alt {
  background: #1976D2;
}

.dna-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #2196F3, transparent);
  left: 0;
  animation: dnaRotate 3s linear infinite;
}

.dna-line.right {
  left: auto;
  right: 0;
  animation-delay: 1.5s;
}

/* Medical Plus Orbits */
.orbit-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(33, 150, 243, 0.2);
  border-radius: 50%;
  animation: rotate 8s linear infinite;
}

.orbit:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation-duration: 6s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #2196F3;
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(33, 150, 243, 0.6);
}

.center-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1976D2;
  font-size: 2rem;
  font-weight: bold;
  animation: pulse 2s ease-in-out infinite;
}

/* Loading Text */
.loading-text {
  color: #1976D2;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.tagline {
  color: #2196F3;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Percentage Counter */
.percentage {
  color: #1976D2;
  font-size: 2rem;
  font-weight: 700;
  padding: 2px;
}

/* Circular Progress */
.circular-progress {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
}

.circular-progress-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circular-progress svg {
  transform: rotate(-90deg);
}

.progress-circle-bg {
  fill: none;
  stroke: rgba(33, 150, 243, 0.1);
  stroke-width: 8;
}

.progress-circle {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: fillCircle 3s ease-in-out forwards;
}

/* Animations */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1) rotate(var(--rotation, 0deg));
  }

  50% {
    transform: scale(1.1) rotate(var(--rotation, 0deg));
  }
}

@keyframes extend {

  0%,
  100% {
    height: 60px;
  }

  50% {
    height: 70px;
  }
}

@keyframes heartbeat {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  10% {
    transform: translateX(-50%) scale(1.15);
  }

  20% {
    transform: translateX(-50%) scale(1);
  }

  30% {
    transform: translateX(-50%) scale(1.15);
  }

  40% {
    transform: translateX(-50%) scale(1);
  }
}

@keyframes innerPulse {

  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@keyframes dnaMove {
  0% {
    top: 0;
    opacity: 1;
  }

  50% {
    top: 100%;
    opacity: 0.3;
  }

  100% {
    top: 0;
    opacity: 1;
  }
}

@keyframes dnaRotate {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fillCircle {
  from {
    stroke-dashoffset: 314;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .stethoscope-container {
    width: 100px;
    height: 120px;
  }

  .loading-text {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .percentage {
    font-size: 1.6rem;
    margin-top: 10px !important;
    margin-left: 15px !important;
  }

  .circular-progress {
    width: 100px;
    height: 100px;
  }

  .hero-section {
    padding: 140px 20px;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stethoscope-container {
    width: 80px;
    height: 100px;
  }

  .chest-piece {
    width: 40px;
    height: 40px;
  }

  .orbit-container {
    width: 80px;
    height: 80px;
  }

  .loading-text {
    font-size: 1rem;
  }
}

.ear-piece.left {
  --rotation: -30deg;
}

.ear-piece.right {
  --rotation: 30deg;
}