/* Base Styles */
:root {
  --primary: #0077cc;
  --primary-dark: #005fa3;
  --primary-light: #e6f3ff;
  --secondary: #00bfa5;
  --secondary-dark: #008e76;
  --accent: #ff6e40;
  --success-color: #28a745;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --white: #ffffff;
  --gray: #95a5a6;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #495057;
  --text-color: #212529;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --border-radius-lg: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.btn {
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 35px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background-color: var(--light);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.section-header {
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  background-color: rgba(0, 119, 204, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  text-align: center;
}

.loader i {
  font-size: 3rem;
  color: var(--primary);
}

.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

.dots {
  display: inline-block;
  width: 20px;
  text-align: left;
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%,
  20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%,
  100% {
    content: "...";
  }
}

/* Navbar */
.navbar {
  padding: 12px 0;
  transition: var(--transition);
  background-color: var(--white);
  z-index: 1000;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 7px 0;
  animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.navbar-toggler:focus{
    box-shadow: none;
}
.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
}

.logo-icon {
  margin-right: 10px;
  font-size: 2rem;
  color: var(--primary);
  animation: pulse 2s infinite;
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 10px 18px;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  width: 30px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.btn-login {
  background-color: rgba(0, 119, 204, 0.1);
  border-radius: 50px;
  color: var(--primary);
  margin-left: 10px;
  transition: var(--transition);
}

.btn-login:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  padding: 140px 0 50px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-text {
  z-index: 2;
  position: relative;
}

.badge-container {
  margin-bottom: 20px;
  display: flex;
}

.badge {
  background-color: rgba(0, 119, 204, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: var(--dark);
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.trust-badges {
  display: flex;
  gap: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark);
}

.trust-badge i {
  color: var(--primary);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.image-container {
  position: relative;
  z-index: 1;
}

.image-container img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating-card {
  position: absolute;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 15px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transition: var(--transition);
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 12px;
  font-size: 1.3rem;
}

.card-text {
  font-weight: 600;
  font-size: 0.95rem;
}

.card-1 {
  top: 20%;
  left: -50px;
  animation: float 5s ease-in-out infinite;
}

.card-2 {
  top: 50%;
  right: -30px;
  animation: float 7s ease-in-out infinite;
}

.card-3 {
  bottom: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--white);
  position: relative;
}

.steps-container {
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.step-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.step-card:before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0.2;
  transition: var(--transition);
}

.step-card:hover:before {
  opacity: 0.3;
  transform: scale(1.1);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 119, 204, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 2.2rem;
  transition: var(--transition);
  position: relative;
}

.step-icon:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 119, 204, 0.3);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.step-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--dark);
  transition: var(--transition);
}

.step-card:hover h3 {
  color: var(--primary);
}

.step-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.step-hover {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 15px;
  transition: var(--transition);
  opacity: 0;
}

.step-card:hover .step-hover {
  bottom: 0;
  opacity: 1;
}

.btn-step-details {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-step-details:hover {
  color: var(--primary-dark);
}

.process-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 119, 204, 0.1) 0%, var(--primary-light) 50%, rgba(0, 119, 204, 0.1) 100%);
  z-index: 1;
  display: none;
}

.process-point {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary);
  top: 50%;
  transform: translateY(-50%);
}

.process-point[data-step="1"] {
  left: 12.5%;
}

.process-point[data-step="2"] {
  left: 37.5%;
}

.process-point[data-step="3"] {
  left: 62.5%;
}

.process-point[data-step="4"] {
  left: 87.5%;
}

@media (min-width: 992px) {
  .process-line {
    display: block;
  }
}


.form-container {
  padding: 30px;
}

.progress-container {
  margin-bottom: 40px;
}

.progress {
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 50px;
  margin-bottom: 25px;
  overflow: visible;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50px;
  transition: width 0.5s ease;
  position: relative;
}

.progress-bar:after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.3);
}

.step-indicators {
  display: flex;
  justify-content: space-between;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  position: relative;
}

.step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 15px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--light-gray);
  z-index: 0;
}

.step.active:not(:last-child):after,
.step.completed:not(:last-child):after {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.step-number {
  width: 35px;
  height: 35px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  border: 2px solid transparent;
}

.step.active .step-number,
.step.completed .step-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(0, 119, 204, 0.1);
}

.step-label {
  font-size: 0.9rem;
  color: var(--gray);
  transition: var(--transition);
  font-weight: 500;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s forwards;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h3 {
  margin-bottom: 5px;
  font-size: 1.5rem;
  color: var(--dark);
}

.form-step p {
  color: var(--gray);
  margin-bottom: 30px;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.form-label {
  font-weight: 500;
  color: #5d596c;
  margin-bottom: 8px;
}
.text-danger{
  color: #ea5455;
}
.primary-icon {
  color: #0077cc;
}
.input-group-text {
  background-color: var(--light-gray);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--primary);
}

.form-control,
.form-select {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 15px;
  border-radius: 8px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.profile-upload {
  display: flex;
  align-items: center;
  gap: 25px;
}

.profile-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gray);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.profile-preview:hover {
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.2);
}

.profile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
}

.upload-btn-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.star-rating {
  display: flex;
  gap: 5px;
  font-size: 1.8rem;
  color: #ffc107;
  margin-bottom: 20px;
}

.star-rating i {
  cursor: pointer;
  transition: var(--transition);
}

.star-rating i:hover,
.star-rating i.active {
  transform: scale(1.2);
}

.review-summary {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 20px;
}

.review-summary-header {
  margin-bottom: 25px;
  text-align: center;
}

.summary-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.summary-item {
  display: flex;
  margin-bottom: 10px;
}

.summary-label {
  width: 150px;
  font-weight: 600;
  color: var(--dark);
}

.stars-summary {
  color: #ffc107;
}

.recommendation-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.summary-text-preview {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 15px;
  font-style: italic;
  color: var(--gray);
}

/* Success Animation */
.success-animation {
  margin: 20px auto;
}

.checkmark-circle {
  width: 100px;
  height: 100px;
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
}

.checkmark-circle .background {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
}

.checkmark-circle .checkmark {
  border-radius: 5px;
}

.checkmark-circle .checkmark.draw:after {
  animation-delay: 100ms;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-name: checkmark;
  transform: scaleX(-1) rotate(135deg);
  animation-fill-mode: forwards;
}

.checkmark-circle .checkmark:after {
  opacity: 0;
  height: 50px;
  width: 25px;
  transform-origin: left top;
  border-right: 10px solid var(--primary);
  border-top: 10px solid var(--primary);
  content: "";
  left: 25px;
  top: 50px;
  position: absolute;
}

@keyframes checkmark {
  0% {
    height: 0;
    width: 0;
    opacity: 1;
  }
  20% {
    height: 0;
    width: 25px;
    opacity: 1;
  }
  40% {
    height: 50px;
    width: 25px;
    opacity: 1;
  }
  100% {
    height: 50px;
    width: 25px;
    opacity: 1;
  }
}

/* Featured Reviews Section */
.featured-reviews {
  background-color: var(--light);
  position: relative;
}

.reviews-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-item {
  padding: 8px 20px;
  border-radius: 50px;
  background-color: var(--white);
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-item:hover {
  background-color: rgba(0, 119, 204, 0.1);
  color: var(--primary);
}

.filter-item.active {
  background-color: var(--primary);
  color: var(--white);
}

.reviews-container {
  position: relative;
}

.review-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.review-header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.hospital-info h4 {
  margin-bottom: 5px;
  font-size: 1.3rem;
  color: var(--dark);
}

.hospital-info p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.department-badge {
  background: #28c76f;
  color: var(--white);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 191, 165, 0.2);
}

.rating-container {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.rating {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rating-text {
  width: 130px;
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

.stars {
  color: #ffc107;
  margin-right: 8px;
}

.rating-value {
  font-weight: 600;
  color: var(--dark);
}

.review-content {
  margin-bottom: 25px;
}

.review-content p {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.7;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reviewer {
  display: flex;
  align-items: center;
}

.reviewer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-info h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--dark);
}

.reviewer-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray);
}

.recommendation {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

.recommended {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.not-recommended {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
}

/* Remove the review hover overlay */
.review-hover {
  display: none;
}

/* Style for clickable review cards */
a .review-card {
  color: inherit;
  text-decoration: none;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 50px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.stat-icon {
  font-size: 3rem;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 500;
}

/* About Section */
.about-section {
  background-color: var(--white);
  position: relative;
}

.about-image {
  position: relative;
  margin-bottom: 40px;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  background-color: rgba(0, 119, 204, 0.1);
  border-radius: var(--border-radius-lg);
  z-index: 0;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
  z-index: 2;
}

.about-content {
  padding: 20px;
}

.about-content h2 {
  margin-bottom: 15px;
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-content .lead {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.about-features {
  margin-top: 30px;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 119, 204, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.feature-text h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--dark);
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
}

/* Testimonial Section */
.testimonial-section {
  background-color: var(--light);
  position: relative;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  min-width: 350px;
  flex: 1;
}

.testimonial-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
}

.testimonial-content p {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.2);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h5 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 100px 0 20px;
  position: relative;
}

.footer-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 15px;
}

.footer h5:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: 12px 20px;
  flex: 1;
}

.newsletter-form button {
  border-radius: 0 50px 50px 0;
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .about-content h2 {
    font-size: 2.5rem;
  }

  .cta-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  section {
    padding: 50px 0;
  }
  .badge-container{
      justify-content:center;
  }
  .hero {
    padding: 150px 0 100px;
  }

  .hero-text {
    text-align: center;
    margin-bottom: 50px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-buttons,
  .trust-badges {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  .about-content {
    margin-top: 40px;
    text-align: center;
  }

  .feature {
    justify-content: center;
    text-align: left;
  }

  .testimonial-slider {
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .step-card {
    margin-bottom: 30px;
  }

  .stat-card {
    margin-bottom: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .testimonial-item {
    min-width: 280px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    right: 15px;
    bottom: 15px;
  }
}

@media (min-width: 992px) {
  .process-line {
    display: block;
  }

  /* Adjust process points for 3 steps instead of 4 */
  .process-point[data-step="1"] {
    left: 16.6%;
  }

  .process-point[data-step="2"] {
    left: 50%;
  }

  .process-point[data-step="3"] {
    left: 83.3%;
  }
}

/* FAQ Section Styles */
.faqs-section {
  background: linear-gradient(135deg, #f8fcff 0%, #edf7ff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.faqs-container {
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 119, 204, 0.1);
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: rgba(0, 119, 204, 0.2);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
  color: var(--primary);
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-icon .fa-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq-icon .fa-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .faq-icon .fa-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .faq-icon .fa-minus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.42, 0, 0.58, 1);
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 1000px;
}

.faq-answer p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-cta {
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 119, 204, 0.2) 100%);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.faq-cta h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.faq-cta p {
  margin-bottom: 25px;
  color: var(--dark);
}

/* Decorative elements */
.faq-decoration {
  position: absolute;
  font-size: 10rem;
  color: rgba(0, 119, 204, 0.03);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.faq-decoration-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.faq-decoration-2 {
  bottom: 15%;
  right: 5%;
  animation-delay: 2s;
}

.faq-decoration-3 {
  top: 60%;
  left: 15%;
  animation-delay: 4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faqs-section {
    padding: 70px 0;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 30px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  .faq-cta {
    padding: 30px 20px;
  }

  .faq-decoration {
    font-size: 6rem;
  }
}

/* Animation for FAQ items on scroll */
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.faq-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}
/* Container customization */
.dropdown-menu {
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 12px;
  background-color: #ffffff;
  min-width: 200px;
}

/* Item styling */
.dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
  border-radius: 6px;
}

/* Hover effects */
.dropdown-item:hover {
  background-color: #0077cc24;
  color: var(--primary);
  transform: translateX(3px);
}
.dropdown-item.active {
  background-color: #0077cc24;
  color: var(--primary);
  transform: translateX(3px);
}
/* Button enhancements */
.dropdown-menu .btn-primary {
  border-radius: 8px;
  background-color: #0d6efd;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.dropdown-menu .btn-primary:hover {
  background-color: #0b5ed7;
}
.navbar-expand-lg .navbar-nav{
  align-items: center;
}

/* Add this to your existing script.js file */
/* User Dropdown in Navbar */
.user-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .profile-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-avatar {
    margin-right: 0;
  }

  .profile-stats {
    justify-content: center;
  }

  .profile-actions {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .profile-header {
    padding: 40px 0 30px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .profile-info h1 {
    font-size: 2rem;
  }

  .exp-stat {
    flex-direction: column;
    text-align: center;
  }

  .exp-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .danger-action {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
.user-nav .nav-link:after {
  content: "";
  position: initial !important;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: var(--transition);
  transform: translateX(-50%);
}

.user-nav .nav-link:hover:after,
.user-nav .nav-link.active:after {
  width: auto;
}