/* Nerix Healthcare Marketing Site Styles */

/* Color Palette */
:root {
  --primary: #4B6BFB;
  --primary-dark: #3751d9;
  --secondary: #7B92FF;
  --success: #52C41A;
  --warning: #FAAD14;
  --error: #F5222D;
  --neutral: #8C8C8C;
  --neutral-light: #f5f5f5;
  --neutral-dark: #333333;
  --background: #FAFBFC;
  --white: #ffffff;
  --border: #e0e0e0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 107, 251, 0.3);
  color: var(--white);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--neutral-dark);
}

.section-intro {
  text-align: center;
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--neutral);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero-logo {
  margin-bottom: 2rem;
  text-align: center;
}

.hero-logo svg {
  width: 200px;
  height: auto;
  fill: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-description {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero .btn-primary {
  background-color: var(--white);
  color: var(--primary);
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
}

.hero .btn-primary:hover {
  background-color: var(--neutral-light);
  color: var(--primary-dark);
}

/* Security Section */
.security-section {
  background-color: var(--background);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background-color: var(--white);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.service-item {
  background-color: var(--neutral-light);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.service-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-item p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.service-item ul {
  list-style: none;
  padding-left: 0;
}

.service-item li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  line-height: 1.6;
}

.service-item li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Why Us Section */
.why-us-section {
  background-color: var(--background);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-card.highlight {
  border: 3px solid var(--primary);
  position: relative;
}

.comparison-card h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-list.negative li:before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--error);
  font-weight: 700;
  font-size: 1.5rem;
}

.comparison-list.positive li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1.5rem;
}

.benefits-highlight {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

/* Trust Section */
.trust-section {
  background-color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.trust-icon {
  margin-bottom: 1rem;
  color: var(--primary);
}

.trust-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
}

.trust-item h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.contact-section .section-title,
.contact-section .section-intro {
  color: var(--white);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 1rem;
  padding: 1.125rem;
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer-address {
  color: var(--neutral);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: underline;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-separator {
  color: var(--neutral);
  margin: 0 0.25rem;
}

.footer-tagline {
  color: var(--neutral);
  font-size: 0.875rem;
}

/* Page Layout (for content pages like Privacy Policy) */
.page-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

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

.header-logo a {
  display: inline-block;
}

.header-logo svg {
  width: 150px;
  height: auto;
  fill: var(--primary);
}

.page-content {
  padding: 4rem 0;
  background-color: var(--white);
  min-height: calc(100vh - 200px);
}

.page-article {
  max-width: 900px;
  margin: 0 auto;
}

.page-article h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.page-article h2 {
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-article h3 {
  color: var(--neutral-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.page-article p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.page-article ul {
  margin: 1rem 0 1.5rem 2rem;
  line-height: 1.8;
}

.page-article ul li {
  margin-bottom: 0.5rem;
}

.page-article strong {
  font-weight: 600;
  color: var(--neutral-dark);
}

.page-article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-logo svg {
    width: 150px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .features-grid,
  .comparison-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-content {
    padding: 2.5rem 0;
  }

  .header-logo svg {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-logo svg {
    width: 120px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .page-content {
    padding: 2rem 0;
  }

  .header-logo svg {
    width: 100px;
  }
}

/* reCAPTCHA Badge Positioning */
.grecaptcha-badge {
  visibility: visible;
  opacity: 1;
  z-index: 9999;
}

/* Optional: Hide the reCAPTCHA badge if you mention it in your privacy policy/terms */
/* Uncomment the following lines to hide it:
.grecaptcha-badge {
  visibility: hidden;
  opacity: 0;
}
*/
