/* Base styles */
:root {
  --primary: #7922FF;
  --primary-light: #8E47FF;
  --primary-dark: #5A0CC9;
  --secondary: #FF6D59;
  --secondary-light: #FF8975;
  --secondary-dark: #D74E3A;
  --white: #FFFFFF;
  --black: #000000;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(121, 34, 255, 0.1), 0 10px 10px -5px rgba(121, 34, 255, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gray-900);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-description {
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto;
  color: var(--gray-600);
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(121, 34, 255, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(121, 34, 255, 0.4);
  color: var(--white);
}

.btn-secondary {
/*   display: inline-flex; */
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: rgba(121, 34, 255, 0.05);
  color: var(--primary-dark);
}

.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect span {
  position: relative;
  z-index: 1;
}

.btn-hover-effect:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, var(--secondary), var(--primary));
  transition: width 0.3s ease;
  z-index: 0;
}

.btn-hover-effect:hover:before {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050; /* Increased z-index to prevent overlapping */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Floating decorative shapes */
.floating-shape {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.shape-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}

.shape-3 {
  bottom: 20%;
  right: 15%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

/* Hero section */
.hero-section {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-color: #f8f9ff;
}

.futuristic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(121, 34, 255, 0.15) 0, transparent 80%),
    radial-gradient(circle at 80% 70%, rgba(255, 109, 89, 0.15) 0, transparent 80%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}

.orb1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(121, 34, 255, 0.3) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.orb2 {
  top: 60%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 109, 89, 0.3) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite reverse;
}

.orb3 {
  bottom: -15%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(89, 180, 255, 0.2) 0%, transparent 70%);
  animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0%, 0%);
  }
  25% {
    transform: translate(5%, 5%);
  }
  50% {
    transform: translate(0%, 10%);
  }
  75% {
    transform: translate(-5%, 5%);
  }
}

.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(121, 34, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(121, 34, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 5;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--gray-900);
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--gray-600);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.feature-tag i {
  color: var(--primary);
}

.hero-device-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.hero-device {
  position: relative;
  width: 300px;
  height: 600px;
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 8px solid #333;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.5s ease;
}

.hero-device:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.device-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 30px;
  background-color: #333;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  z-index: 10;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.app-logo {
  font-weight: 700;
  color: white;
  font-size: 1.25rem;
}

.app-menu {
  color: white;
  font-size: 1.25rem;
}

.app-content {
  padding: 1.5rem;
}

.app-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
}

.appointment-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: #f8f9ff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.appointment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: white;
  margin-right: 1rem;
}

.doctor {
  background-color: var(--primary);
}

.salon {
  background-color: var(--secondary);
}

.home {
  background-color: #3b82f6;
}

.appointment-details {
  flex: 1;
}

.appointment-details h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.appointment-details p {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--gray-600);
}

.appointment-time {
  font-size: 0.75rem !important;
  color: var(--gray-500) !important;
}

.appointment-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
}

.confirmed {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.new-appointment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.new-appointment-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.device-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0.2) 100%
  );
  pointer-events: none;
}

.device-shadow {
  position: absolute;
  bottom: -20px;
  left: 10px;
  right: 10px;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
  border-radius: 50%;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: -2rem; /* Slightly lower, closer to the bottom */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  animation: bounce 2s infinite;
}

/* Special class for mobile position to prevent overlap */
.scroll-indicator.mobile-position {
  position: relative;
  bottom: auto;
  margin-top: 2rem;
  clear: both;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.scroll-indicator a:hover {
  color: var(--primary);
}

.scroll-indicator span {
  margin-bottom: 0.5rem;
}

.scroll-indicator i {
  font-size: 1.25rem;
}

/* Hide the scroll indicator on mobile screens */
@media (max-width: 767px) {
  .scroll-indicator {
    display: none;
  }
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(248, 249, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.bg-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(121, 34, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(121, 34, 255, 0.2);
  border-color: var(--primary-light);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.service-icon {
  position: absolute;
  left: 1rem;
  bottom: -1.5rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  z-index: 2;
}

.service-content {
  padding: 2rem 1.5rem 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.service-description {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.service-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.service-link i {
  transition: transform 0.3s ease;
}

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

.demo-button {
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-button:hover {
  background-color: var(--primary-dark);
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Benefits Section */
/* Statistics Section */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(30deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
    linear-gradient(150deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05));
  background-size: 80px 140px;
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  color: var(--white);
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefits-section {
  padding: 6rem 0;
  background-color: rgba(121, 34, 255, 0.03);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
}

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

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.benefit-description {
  font-size: 1rem;
  color: var(--gray-600);
}

/* Calculator Section */
.calculator-section {
  padding: 6rem 0;
  position: relative;
  background-color: var(--white);
  overflow: hidden;
}

.calculator-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.calculator-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(121, 34, 255, 0.05) 0, transparent 200px),
    radial-gradient(circle at 80% 60%, rgba(255, 109, 89, 0.05) 0, transparent 200px);
}

.calculator-flex {
  display: flex;
  align-items: center;
  gap: 3rem; /* Adjust this gap to control space */
  position: relative;
  z-index: 5;
}

.calculator-card {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
}

.calculator-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  text-align: center;
}

.calculator-form {
  margin-bottom: 2rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {
  .calculator-flex {
    flex-direction: column;
    gap: 2rem; /* Reduce gap for mobile view */
  }

  .calculator-card {
    max-width: 100%; /* Allow the card to use full width on smaller screens */
  }
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--gray-800);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(121, 34, 255, 0.1);
}

.calc-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.calculator-result {
  background-color: rgba(121, 34, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.calculator-result h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--gray-900);
}

.result-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.result-item {
  text-align: center;
}

.result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.result-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.result-text {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-800);
}

.calculator-visual {
  flex: 1;
  max-width: 500px;
}

.calendar-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.calendar-header {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  padding: 1.5rem;
  color: var(--white);
}

.month-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
}

.month-selector i {
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.month-selector i:hover {
  opacity: 1;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0.5rem;
  gap: 0.25rem;
}

.calendar-days div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 50%;
  font-size: 0.875rem;
  color: var(--gray-800);
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-days div:hover:not(.prev-month):not(.next-month) {
  background-color: var(--gray-100);
}

.prev-month, .next-month {
  color: var(--gray-400) !important;
}

.today {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600;
}

.has-events {
  position: relative;
  font-weight: 600;
}

.has-events:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--secondary);
}

.calendar-events {
  padding: 1rem;
  border-top: 1px solid var(--gray-200);
}

.event-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
}

.event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.event-dot.doctor {
  background-color: var(--primary);
}

.event-dot.salon {
  background-color: var(--secondary);
}

.event-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-right: 0.75rem;
}

.event-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
}

.time-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.time-stat-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.time-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.time-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}



/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: rgba(255, 109, 89, 0.03);
}

.about-flex {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
}

.about-values {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.value-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
}

.cta-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0, transparent 50px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0, transparent 50px);
}

.cta-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.cta-text {
  margin-bottom: 2rem;
}

.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Notify Section */
.notify-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.notify-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.notify-form {
  margin-top: 2rem;
}

.notify-form .form-group {
  display: flex;
  gap: 0.5rem;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.success-message {
  color: #10b981;
}

.error-message {
  color: #ef4444;
}

/* Contact Section - Fixed Alignment */
.contact-section {
  padding: 6rem 0;
  background-color: rgba(121, 34, 255, 0.03);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch; /* Key for equal height */
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px; /* Ensures all cards have same minimum height */
}

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

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  flex-shrink: 0; /* Prevents icon from shrinking */
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
  min-height: 1.5rem; /* Ensures consistent title height */
}

.contact-card p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.contact-card p:last-of-type {
  margin-bottom: 0;
}

/* Founder specific styling */
.contact-card p strong {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1.125rem;
  display: block;
  margin-bottom: 0.25rem;
}

.founder-subtitle {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Social links alignment */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(121, 34, 255, 0.1);
  color: var(--primary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    min-height: auto;
    padding: 1.5rem;
  }
}


/* Footer */
.footer {
  padding: 4rem 0 1rem;
  background-color: var(--gray-900);
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-logo p {
  color: var(--gray-400);
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  padding: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--white);
}

.close-modal {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
}

.close-modal:hover {
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--gray-700);
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-buttons, .hero-features {
    justify-content: center;
  }
  
  .calculator-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .calculator-card, .calculator-visual {
    max-width: 100%;
  }
  
  .about-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .about-text {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-device {
    width: 250px;
    height: 500px;
  }
  
  .services-grid, .benefits-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .main-nav.show .nav-list {
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-icon {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .floating-shape {
    display: none;
  }
  
  .notify-form .form-group {
    flex-direction: column;
  }
  
  .stats-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .hero-device {
    width: 220px;
    height: 440px;
  }
  
  .appointment-card {
    flex-direction: column;
    text-align: center;
  }
  
  .appointment-icon {
    margin: 0 auto 1rem;
  }
  
  .appointment-status {
    margin-top: 0.5rem;
  }
  
  .time-stats {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer button {
    width: 100%;
  }
}

/* AOS Animation Styles */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
.header .main-nav {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(243,244,246,0.98) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(121, 34, 255, 0.15);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  border-radius: 0 0 1rem 1rem;
}

.header .main-nav.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .nav-list {
  flex-direction: column;
  width: 100%;
}

.header .nav-list li {
  margin: 0;
  width: 100%;
}

.header .nav-list li a {
  display: block;
  padding: 14px 20px;
  text-align: center;
  font-size: 16px;
  border-bottom: 1px solid rgba(121, 34, 255, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.header .nav-list li a:hover {
  background: linear-gradient(to right, rgba(121, 34, 255, 0.1), rgba(255, 109, 89, 0.1));
  transform: translateX(5px);
}

.mobile-menu-btn {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn i {
  font-size: 24px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active i.fa-bars:before {
  content: "\f00d"; /* Changes to an X icon when active */
}
}

/* Ensure the mobile menu button is visible on mobile */
@media screen and (max-width: 768px) {
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
}

/* Hide mobile menu button on desktop */
@media screen and (min-width: 769px) {
.mobile-menu-btn {
  display: none;
}
}


/* ============================================
   FIX: Perfect alignment for calculator section
============================================ */

.calculator-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
}

.calculator-flex {
  display: flex;
  align-items: flex-start; /* Align both boxes at the top edge */
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Left: Calculator card */
.calculator-card {
  flex: 1;
  min-width: 360px;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Title alignment fix */
.calculator-title {
  text-align: center;
  font-size: 1.5rem;
  color: #111;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0.3rem; /* reduce top gap */
}

/* Right: Calendar visual */
.calculator-visual {
  flex: 1;
  min-width: 360px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transform: translateY(4px); /* small optical adjustment */
}

/* Calendar box */
.calendar-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  width: 100%;
  padding: 0 1.5rem 1.5rem;
}

/* Header styling (keep gradient flush with top edge) */
.calendar-header {
  background: linear-gradient(90deg, #7b2ff7 0%, #f107a3 100%);
  color: #fff;
  border-radius: 20px 20px 0 0;
  text-align: center;
  font-weight: 600;
  padding: 1rem;
  margin: 0 -1.5rem 1.2rem -1.5rem; /* remove extra spacing */
}

/* Remove unwanted gaps in the days grid */
.calendar-weekdays,
.calendar-days {
  margin: 0;
}

/* Stats boxes under calendar */
.time-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.time-stat-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s ease;
}

.time-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.time-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  display: block;
}

.time-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.4;
  display: block;
  max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .time-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .time-stat-item {
    min-height: 100px;
    padding: 1.25rem 1rem;
  }
  
  .time-number {
    font-size: 1.5rem;
  }
  
  .time-label {
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .time-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .time-stat-item {
    padding: 1.25rem 0.75rem;
  }
  
  .time-number {
    font-size: 1.5rem;
  }
  
  .time-label {
    font-size: 0.8rem;
  }
}

/* Calculator Section - Complete Alignment Fix */
.calculator-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
}

.calculator-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.calculator-card {
  flex: 1;
  min-width: 360px;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calculator-visual {
  flex: 1;
  min-width: 360px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

/* Calendar container alignment */
.calendar-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  width: 100%;
  overflow: hidden;
}

.calendar-header {
  background: linear-gradient(90deg, #7b2ff7 0%, #f107a3 100%);
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 1rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .calculator-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .calculator-card,
  .calculator-visual {
    max-width: 90%;
    width: 100%;
  }
}

