/* ===================================
   ASPEN MEDICAL WEBSITE STYLES
   =================================== */

/* CSS Variables */
:root {
  --background: #ffffff;
  --foreground: #0f0f0f;
  --card: #ffffff;
  --card-foreground: #0f0f0f;
  --primary: #0f0f0f;
  --primary-foreground: #fafafa;
  --secondary: #f5f5f5;
  --secondary-foreground: #0f0f0f;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --accent-foreground: #0f0f0f;
  --destructive: #ef4444;
  --destructive-foreground: #ef4444;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #a3a3a3;
  --radius: 0.625rem;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    sans-serif;
  line-height: 1.6;
}

/* Layout Components */
.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

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

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-green-600 {
  color: #16a34a;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

/* Utility Classes */
.max-w-700 {
  margin: 0 auto;
  max-width: 700px;
}

.max-w-3xl {
  margin: 0 auto;
  max-width: 768px;
}

.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mb-8 {
  margin-bottom: 2rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

/* Sections */
section {
  padding: 3rem 0;
  width: 100%;
}

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

.section-muted {
  background-color: #f8fafc;
}

/* Button Styles */
.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  justify-content: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background-color: rgba(15, 15, 15, 0.9);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

/* FontAwesome Icon Styling */
.fa-icon {
  align-items: center;
  display: inline-flex;
  height: 1.5rem;
  justify-content: center;
  width: 1.5rem;
}

.fa-icon.fa-lg {
  height: 2rem;
  width: 2rem;
}

.fa-icon.fa-xl {
  height: 2.5rem;
  width: 2.5rem;
}

/* ===================================
   HEADER SECTION
   =================================== */

.header {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}

.header-content {
  align-items: center;
  display: flex;
  height: 3.5rem;
}

.logo {
  align-items: center;
  color: var(--foreground);
  display: flex;
  font-weight: bold;
  gap: 0.5rem;
  margin-right: 1.5rem;
  text-decoration: none;
}

.nav {
  align-items: center;
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 1.5rem;
}

.nav a {
  color: rgba(15, 15, 15, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--foreground);
}

.header-actions {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 1rem;
  justify-content: flex-end;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  background-color: #f8fafc;
  padding: 5rem 0;
}

.hero-grid {
  gap: 4rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  height: auto;
  width: 100%;
}

/* ===================================
   TESTIMONIAL SECTION
   =================================== */

.testimonial {
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-card {
  text-align: center;
}

.testimonial-quote {
  color: var(--foreground);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.testimonial-author {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-avatar {
  border-radius: 50%;
  height: 4rem;
  width: 4rem;
}

.testimonial-avatar img {
  border-radius: 50%;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.testimonial-info {
  text-align: center;
}

.testimonial-name {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-title {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ===================================
   FEATURE SECTIONS
   =================================== */

.feature-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
}

.feature-icon {
  align-items: center;
  background-color: rgba(15, 15, 15, 0.1);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.feature-icon .fa-icon {
  color: var(--primary);
}

/* ===================================
   CARD COMPONENTS
   =================================== */

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ===================================
   SOLUTION SECTION
   =================================== */

.solution-features {
  margin-top: 3rem;
}

.solution-feature {
  text-align: center;
}

.solution-icon {
  display: block;
  font-size: 2.5rem;
  margin: 0 auto;
}

.solution-title {
  margin-top: 1rem;
}

.solution-description {
  color: rgba(250, 250, 250, 0.8);
}

/* ===================================
   TIMELINE SECTION
   =================================== */

.timeline {
  margin: 0 auto;
  margin-top: 3rem;
  max-width: 768px;
  position: relative;
}

.timeline::before {
  background-color: var(--border);
  bottom: 0;
  content: '';
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  background-color: var(--primary);
  border: 4px solid var(--background);
  border-radius: 50%;
  content: '';
  height: 1rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  z-index: 1;
}

.timeline-card {
  width: calc(50% - 2rem);
}

.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
}

.timeline-time {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===================================
   ICON STYLES
   =================================== */

.icon-primary {
  color: var(--primary);
}

.icon-center {
  display: block;
  margin: 0 auto;
}

.icon-xl {
  font-size: 2.5rem;
}

.text-primary-muted {
  color: rgba(250, 250, 250, 0.8);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  border-top: 1px solid var(--border);
}

.cta-border-top {
  border-top: 1px solid var(--border);
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */

.mission-grid {
  gap: 4rem;
}

.stat-card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
}

.stat-card-title {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.stat-card-icon {
  color: var(--muted-foreground);
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
}

.stat-description {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.team-card-content {
  padding-top: 1.5rem;
}

.avatar-placeholder {
  align-items: center;
  background-color: var(--muted);
  border-radius: 50%;
  display: flex;
  height: 128px;
  justify-content: center;
  margin: 0 auto;
  width: 128px;
}

.avatar-icon {
  color: var(--primary);
  font-size: 3rem;
}

/* ===================================
   WHY TELEHEALTH PAGE STYLES
   =================================== */

.comparison-grid {
  gap: 6rem;
}

.testimonial-quote-small {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
}

.testimonial-attribution {
  font-size: 0.875rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.section-border-top {
  border-top: 1px solid var(--border);
}

/* ===================================
   FAQ PAGE STYLES
   =================================== */

.faq-container {
  max-width: 800px;
}

/* ===================================
   FOOTER SECTION
   =================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.footer-info {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero {
    padding: 8rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: row;
  }

  .footer-info {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  .hero {
    padding: 10rem 0;
  }
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item::before {
    left: 1rem;
  }

  .timeline-card {
    margin-left: 3rem !important;
    width: calc(100% - 3rem);
  }

  .hero-buttons {
    flex-direction: column;
  }
}
