/* Import Manrope font */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(180deg, #f1f4f3 0%, #f0f0f0 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 1.2rem;
  font-weight: 600;
}

.logo img {
  width: 196px;
  height: 60px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 2rem;
  position: relative;
}

.nav::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f1f4f3;
}

.nav-link {
  text-decoration: none;
  color: #2c2829;
  position: relative;
  padding-bottom: 4px;
  transition: all 0.3s;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(197, 62, 92, 0.5);
  z-index: 1;
}

.nav-link[href*="careers"] {
  color: #c41f40;
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding: 120px 0 0;
  background: linear-gradient(180deg, #f0f0f0 0%, #f8f8f8 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text h1 {
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: -5%;
  color: #c41f40;
  margin-bottom: 1.5rem;
  line-height: 0.9;
}

.hero-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  background: #c41f40;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #a83348;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-left: 2rem;
}

.partners {
  text-align: center;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  opacity: 0.6;
}

.partner-logos img {
  height: 40px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logos img:hover {
  filter: grayscale(0%);
}

/* About Section */
.about {
  padding: 120px 0;
  background: #fff;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-label::before {
  content: "⚡";
  font-size: 1rem;
}

.about-content p {
  font-size: 2.5rem;
  line-height: 1.4;
  color: #333;
  font-weight: 400;
}

.highlight {
  color: #c41f40;
  font-weight: 600;
}

/* Services Section */
.services {
  padding: 120px 0;
  background: white;
  margin-top: -100px;
}

.services .container {
  max-width: none;
  padding: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 20px;
  height: 1200px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
}

.service-card {
  padding: 3rem 2rem;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 395px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:nth-child(1) {
  grid-row: span 2;
}

.service-card:nth-child(2) {
  grid-row: span 2;
}

.service-card:nth-child(3) {
  grid-row: span 2;
}

.service-card:nth-child(4) {
  grid-row: span 2;
}

.service-card:nth-child(5) {
  grid-row: span 2;
}

.service-card:nth-child(6) {
  grid-row: span 2;
}

.service-card:nth-child(7) {
  grid-row: span 2;
}

.service-card:nth-child(8) {
  grid-row: span 2;
}

.service-card:nth-child(9) {
  grid-row: span 2;
}

.service-card.light {
  background: #f8f9fa;
  color: #272727;
}

.service-card.primary {
  background: #c41f40;
  color: white;
}

.service-card h3 {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2%;
  transition: all 0.3s ease;
}

.service-description {
  font-size: 1.2rem;
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.service-card:hover h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card:hover .service-description {
  opacity: 1;
  max-height: 200px;
}

.service-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.service-card:hover .service-arrow {
  transform: rotate(180deg);
}

.service-arrow:hover {
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: #f8f9fa;
}

.testimonials h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 3rem;
}

.testimonials-container {
  position: relative;
}

.testimonial-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-arrow:hover {
  border-color: #c53e5c;
  color: #c53e5c;
}

.nav-arrow.next {
  background: #c53e5c;
  color: white;
  border-color: #c53e5c;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

.testimonial-quote {
  font-size: 4rem;
  color: #c53e5c;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-background {
  background-color: #f1f4f3;
  margin: 1.5rem;
  padding-top: 10rem;
  padding-bottom: 10rem;
  border-radius: 12px;
}

.cta-content h2 {
  font-size: 4rem;
  font-weight: 500;
  color: #272727;
  line-height: 1;
  letter-spacing: -3%;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-email {
  display: inline-block;
  background: #c41f40;
  color: white;
  padding: 16px 32px;
  border-radius: 36px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-email:hover {
  background: #c41f40;
}

.cta-icons {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 1;
}

.cta-icon {
  position: absolute;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon:nth-child(1) {
  top: 30%;
  left: 25%;
}
.cta-icon:nth-child(2) {
  top: 25%;
  right: 25%;
}
.cta-icon:nth-child(3) {
  bottom: 25%;
  left: 23%;
}
.cta-icon:nth-child(4) {
  bottom: 20%;
  right: 22%;
}

/* Footer */
.footer {
  background: #f8f9fa;
  padding: 60px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0px;
  bottom: 0;
  width: 400px;
  background-image: url('assets/Layer_1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  margin-right: 220px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-logo img {
  width: 320px;
  height: 120px;
  object-fit: contain;
}

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

.footer-column h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: #6b7280;
  font-size: 1.25rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #c53e5c;
}

.footer-bottom {
  padding-top: 2rem;
  color: #6b7280;
  font-size: 1.25rem;
}

/* Providers Page Specific Styles */
.providers-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.providers-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.providers-hero .hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #c53e5c;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.providers-hero .hero-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.providers-hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.primary-care {
  padding: 80px 0;
  background: white;
}

.care-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.care-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  margin-top: 1rem;
}

.care-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.specialized-physicians {
  padding: 80px 0;
  background: #f8f9fa;
}

.specialists-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.specialists-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  margin-top: 1rem;
}

.specialists-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.benefits {
  padding: 80px 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.benefit-card {
  text-align: left;
  padding: 2rem 0;
}

.benefit-icon {
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #666;
  line-height: 1.6;
}

.providers-testimonials {
  background: #f8f9fa;
}

.testimonial-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Payors Page Specific Styles */
.payors-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.payors-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.payors-hero .hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.payors-hero .hero-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.payors-hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.interventions {
  padding: 80px 0;
  background: white;
}

.interventions-label {
  color: #c53e5c;
  font-weight: 600;
  display: block;
  margin-bottom: 2rem;
}

.interventions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.intervention-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.intervention-icon {
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.intervention-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.intervention-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.platform-benefits {
  padding: 80px 0;
  background: #f8f9fa;
}

.platform-benefits h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
}

.platform-benefits .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-item .benefit-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.benefit-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
}

.value-proposition {
  padding: 80px 0;
  background: white;
}

.proposition-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.proposition-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.proposition-text > p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.proposition-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.proposition-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Careers Page Specific Styles */
.careers-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.careers-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.careers-hero .hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #c53e5c;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.careers-hero .hero-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.careers-hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.company-culture {
  padding: 80px 0;
  background: white;
}

.culture-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.culture-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.culture-text > p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.culture-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.culture-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.culture-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.culture-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.open-positions {
  padding: 80px 0;
  background: #f8f9fa;
}

.positions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.positions-nav {
  display: flex;
  gap: 10px;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.position-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.position-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.position-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.position-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.apply-button {
  background: #c53e5c;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.apply-button:hover {
  background: #a83348;
}

.employee-benefits {
  padding: 80px 0;
  background: white;
}

.employee-benefits h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
}

.employee-benefits .benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.employee-benefits .benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.employee-benefits .benefit-item .benefit-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.employee-benefits .benefit-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
}

.employee-benefits .benefit-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

.careers-cta {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.careers-cta .cta-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.careers-cta .cta-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .about-content p {
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: -2%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials h2,
  .cta-content h2 {
    font-size: 2rem;
  }

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

  .partner-logos {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .nav {
    display: none;
  }

  /* Providers page responsive */
  .providers-hero .hero-content,
  .care-content,
  .specialists-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .providers-hero .hero-text h1,
  .care-text h2,
  .specialists-text h2 {
    font-size: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Payors page responsive */
  .payors-hero .hero-content,
  .proposition-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .payors-hero .hero-text h1,
  .platform-benefits h2,
  .proposition-text h2 {
    font-size: 2.5rem;
  }

  .interventions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .platform-benefits .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intervention-card {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  /* Careers page responsive */
  .careers-hero .hero-content,
  .culture-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .careers-hero .hero-text h1,
  .culture-text h2,
  .employee-benefits h2,
  .careers-cta .cta-content h2 {
    font-size: 2.5rem;
  }

  .positions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .positions-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1.4rem;
  }

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

  .service-card h3 {
    font-size: 1.2rem;
  }

  /* Careers page mobile */
  .careers-hero .hero-text h1,
  .culture-text h2,
  .employee-benefits h2 {
    font-size: 2rem;
  }

  .careers-cta .cta-content h2 {
    font-size: 2.2rem;
  }

  .employee-benefits .benefits-grid {
    grid-template-columns: 1fr;
  }
}
