/* --- Global Reset & Basic Styling --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff; /* Default white background */
}

a {
  text-decoration: none;
  color: #2e401e; /* Dark Green */
}

a:hover {
  color: #9fc02e; /* Primary Green */
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 1rem;
  color: #2e401e; /* Dark Green */
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* --- Utility Classes --- */
.bg-light-gray {
  background-color: #f5f7fa;
  padding: 40px 0;
}

.bg-primary-green {
  background-color: #9fc02e;
  color: #fff;
}

.text-center {
  text-align: center;
}

.py-1 {
  padding: 1rem 0;
}
.py-2 {
  padding: 2rem 0;
}
.py-3 {
  padding: 3rem 0;
}
.py-4 {
  padding: 4rem 0;
}

.my-1 {
  margin: 1rem 0;
}
.my-2 {
  margin: 2rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #9fc02e; /* Primary Green */
  color: #fff;
}

.btn-primary:hover {
  background-color: #88b026;
}

.btn-secondary {
  background-color: #2e401e; /* Dark Green */
  color: #fff;
}

.btn-secondary:hover {
  background-color: #1f2d14;
}

/* --- Header & Navigation --- */
.main-header {
  background-color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #2e401e; /* Dark Green */
}

.logo span {
  color: #9fc02e; /* Primary Green */
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin-left: 20px;
}

.main-nav ul li a {
  color: #333;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #9fc02e; /* Primary Green */
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #9fc02e;
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.get-quote-btn {
  margin-left: 20px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  background-color: #f5f7fa; /* Light Gray */
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  color: #2e401e;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  background-color: #f9f9f9;
  padding: 15px 0;
  font-size: 0.9rem;
  color: #555;
}

.breadcrumbs a {
  color: #9fc02e;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* --- Services Snippets (Homepage) --- */
.services-snippets {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 2rem;
  flex-wrap: wrap; /* For responsiveness */
}

.service-snippet {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex-basis: calc(33.333% - 20px); /* Adjust for gap */
  min-width: 280px; /* For smaller screens before wrapping fully */
}

.service-snippet .icon {
  font-size: 2.5rem; /* Placeholder for icon */
  color: #9fc02e;
  margin-bottom: 1rem;
}

.service-snippet h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
  display: flex;
  gap: 30px;
  align-items: center;
}

.why-choose-us .content,
.why-choose-us .image-placeholder {
  flex: 1;
}

.why-choose-us .image-placeholder {
  background-color: #e0e0e0; /* Placeholder */
  min-height: 300px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
}

.why-choose-us ul li {
  margin-bottom: 0.7rem;
  padding-left: 20px;
  position: relative;
}

.why-choose-us ul li::before {
  content: "✓"; /* Checkmark icon */
  color: #9fc02e;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Testimonials --- */
.testimonials-section {
  background-color: #f5f7fa;
}
.testimonial-grid {
  display: flex;
  gap: 20px;
  justify-content: space-around; /* Or space-between */
  flex-wrap: wrap;
}
.testimonial-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  flex-basis: calc(48% - 10px); /* Two cards per row with gap */
  min-width: 280px;
}
.testimonial-card p.quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}
.testimonial-card p.author {
  font-weight: bold;
  color: #2e401e;
  text-align: right;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: #2e401e; /* Dark Green */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 40px auto; /* Center it if container not used directly */
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 1.5rem;
    color: #fff;
}
/* --- Footer --- */
.main-footer {
  background-color: #1c2812; /* Very Dark Green */
  color: #ccc;
  padding: 40px 0 20px;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px; /* For wrapping */
}

.footer-section h4 {
  color: #9fc02e; /* Primary Green */
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ccc;
}

.footer-section ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section p {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3a4a2b;
  font-size: 0.8rem;
}

/* --- About Page Specifics --- */
.strengths-grid {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  text-align: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.strength-item {
  flex-basis: calc(25% - 20px); /* Four items */
  min-width: 200px;
  padding: 15px;
}
.strength-item .icon {
  /* Placeholder for icon */
  font-size: 2rem;
  color: #9fc02e;
  margin-bottom: 0.5rem;
}

/* --- Services Page (General) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.service-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  /* Placeholder */
  font-size: 2rem;
  color: #9fc02e;
  margin-bottom: 1rem;
  display:flex;
  justify-content: center;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* --- Service Detail Page --- */
.service-detail-layout {
  display: flex;
  gap: 30px;
}
.service-main-content {
  flex: 3; /* Takes more space */
}
.service-sidebar {
  flex: 1;
  background-color: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}
.service-sidebar h4 {
  margin-bottom: 1rem;
  border-bottom: 2px solid #9fc02e;
  padding-bottom: 0.5rem;
}
.service-sidebar ul li {
  margin-bottom: 0.7rem;
}
.service-sidebar ul li a {
  color: #333;
}
.service-sidebar ul li a:hover {
  color: #9fc02e;
}
.service-sidebar .contact-box {
  margin-top: 2rem;
  padding: 15px;
  background-color: #e8f5e9; /* Light green tint */
  border-left: 4px solid #9fc02e;
}

/* --- Contact Page --- */
.contact-info-blocks {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.contact-block {
  flex: 1;
  min-width: 250px;
  background-color: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}
.contact-block .icon {
  /* Placeholder */
  font-size: 2rem;
  color: #9fc02e;
  margin-bottom: 1rem;
}
.contact-form-section {
  background-color: #f5f7fa;
  padding: 30px;
  border-radius: 8px;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }
  .main-nav {
    width: 100%;
    margin-top: 1rem;
    display: none; /* Hidden by default, shown by JS */
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
  }
  .main-nav ul li {
    margin: 10px 0;
    text-align: center;
  }
  .get-quote-btn {
    margin-left: 0;
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
  }

  .services-snippets,
  .why-choose-us,
  .testimonial-grid,
  .footer-content,
  .contact-info-blocks,
  .service-detail-layout,
  .strengths-grid {
    flex-direction: column;
  }
  .service-snippet,
  .testimonial-card,
  .strength-item {
    flex-basis: 100%; /* Full width on smaller screens */
    margin-bottom: 20px;
  }
}

/* --- MODERN UI STYLES FOR HOMEPAGE --- */

/* General Modern Touches */
body {
  font-family: "Open Sans", sans-serif; /* Ensure Open Sans is primary for body */
  color: #4a4a4a; /* Softer black */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif; /* Ensure Poppins for headings */
  color: #2e401e; /* Dark Green - RxBillers brand */
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2e401e;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d; /* Medium gray */
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Modern Header */
.modern-header {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 1.2rem 0;
}

/* Modern Buttons */
.modern-btn-primary {
  background-color: #9fc02e; /* Primary Green */
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px; /* Pill shape */
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(159, 192, 46, 0.3);
}
.modern-btn-primary:hover {
  background-color: #88b026;
  box-shadow: 0 6px 15px rgba(159, 192, 46, 0.4);
  transform: translateY(-2px);
}

.modern-btn-secondary {
  background-color: #fff;
  color: #2e401e; /* Dark Green */
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: 2px solid #2e401e;
  transition: all 0.3s ease;
}
.modern-btn-secondary:hover {
  background-color: #2e401e;
  color: #fff;
  transform: translateY(-2px);
}

.modern-btn-cta {
  /* For the final CTA banner */
  background-color: #fff;
  color: #9fc02e; /* Primary Green */
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.modern-btn-cta:hover {
  background-color: #f8f8f8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Hero Modern Section */
.hero-modern {
  position: relative;
  height: 85vh; /* Adjust height as needed */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80"); /* Replace with your high-quality image */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Parallax-like effect */
}

.hero-modern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    46,
    64,
    30,
    0.6
  ); /* Dark Green overlay - RxBillers theme */
}

.hero-modern-content {
  position: relative; /* To be above the overlay */
  z-index: 2;
  max-width: 800px;
}

.hero-modern-content h1 {
  font-size: 3.5rem; /* Larger heading */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.hero-modern-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* What We Offer Section */
.section-what-we-offer {
  padding-top: 80px;
  padding-bottom: 80px;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.service-card-modern {
  background-color: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.service-card-modern-icon {
  font-size: 2.8rem; /* Placeholder for icon */
  color: #9fc02e; /* Primary Green */
  margin-bottom: 1.5rem;
  /* If using Font Awesome: display: inline-block; width: 60px; height: 60px; line-height: 60px; text-align: center; border-radius: 50%; background-color: #e8f5e9; */
}

.service-card-modern h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card-modern p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.learn-more-link {
  color: #9fc02e;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.learn-more-link:hover {
  color: #2e401e; /* Dark Green */
}

/* Why RxBillers Section */
.section-why-rxbillers {
  padding-top: 80px;
  padding-bottom: 80px;
}
.why-rxbillers-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Image takes less space */
  gap: 50px;
  align-items: center;
}
.why-rxbillers-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.why-rxbillers-content .section-title {
  text-align: left;
}
.why-rxbillers-content p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.why-rxbillers-list {
  list-style: none;
  padding-left: 0;
}
.why-rxbillers-list li {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}
.why-rxbillers-list li span {
  /* Checkmark */
  color: #9fc02e; /* Primary Green */
  font-size: 1.2rem;
  margin-right: 10px;
  font-weight: bold;
}

/* Testimonials Modern Section */
.section-testimonials-modern {
  padding-top: 80px;
  padding-bottom: 80px;
}
.testimonials-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}
.testimonial-card-modern {
  background-color: #f5f7fa; /* Light Gray, or #fff */
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid #9fc02e; /* Accent border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.testimonial-card-modern .quote-modern {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 30px; /* Space for quote icon */
}
.testimonial-card-modern .quote-modern::before {
  content: "“"; /* Opening quote */
  font-family: Georgia, serif;
  font-size: 3rem;
  color: #9fc02e;
  position: absolute;
  left: -5px;
  top: -10px;
}
.testimonial-card-modern .author-modern {
  font-weight: 600;
  color: #2e401e; /* Dark Green */
  text-align: right;
  font-size: 0.95rem;
}

/* CTA Banner Modern */
.cta-banner-modern {
  /* background-color: #2E401E; Dark Green, set in HTML for this one */
  /* color: #fff;  Set in HTML for this one */
  padding-top: 60px !important; /* Override py-4 */
  padding-bottom: 60px !important; /* Override py-4 */
}
.cta-banner-modern h2 {
  font-size: 2.3rem;
  font-weight: 600;
  /* color: #fff; Set in HTML */
}

/* Responsive Adjustments for Modern UI */
@media (max-width: 992px) {
  .hero-modern-content h1 {
    font-size: 2.8rem;
  }
  .hero-modern-content p {
    font-size: 1.1rem;
  }
  .why-rxbillers-grid {
    grid-template-columns: 1fr; /* Stack on smaller screens */
    gap: 30px;
  }
  .why-rxbillers-image {
    max-width: 400px;
    margin: 0 auto 2rem auto; /* Center image when stacked */
  }
  .why-rxbillers-content .section-title,
  .why-rxbillers-content p {
    text-align: center;
  }
  .why-rxbillers-list {
    padding-left: 15px; /* Indent list items a bit when centered */
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .hero-modern {
    height: 70vh;
  }
  .hero-modern-content h1 {
    font-size: 2.2rem;
  }
  .hero-modern-content p {
    font-size: 1rem;
  }
  .services-grid-modern,
  .testimonials-grid-modern {
    grid-template-columns: 1fr; /* Stack cards */
  }
  .service-card-modern {
    padding: 25px 20px;
  }
  .modern-btn-primary,
  .modern-btn-secondary,
  .modern-btn-cta {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
  .cta-banner-modern h2 {
    font-size: 1.9rem;
  }
}

/* New Home */

/* --- Reset & Basic Styling (Keep essential parts) --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif; /* Drrxbiller uses a font like Roboto/Open Sans */
  line-height: 1.7;
  color: #333d42; /* Dark gray text */
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: #4a69bd; /* Primary Blue */
}
ul {
  list-style: none;
}
.container {
  width: 90%;
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif; /* Headings can be Poppins for a modern touch */
  color: #1e2a3b; /* Very Dark Blue/Black for headings */
  margin-bottom: 1rem;
  font-weight: 600;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.3;
}
h2 {
  font-size: 2.2rem;
  line-height: 1.3;
} /* section-title-rxbiller */
h3 {
  font-size: 1.5rem;
}
p {
  margin-bottom: 1rem;
  color: #556270;
  font-size: 1rem;
} /* Softer text color */

.py-rxbiller {
  padding: 70px 0;
}
.bg-light-rxbiller {
  background-color: #f8f9fa;
} /* Very light gray */
.text-center {
  text-align: center;
}

/* Colors */
:root {
  --maincolor:#343921;
  --accent-green: #4a69bd; /* rxbiller Blue */
  --accent-green: #9acd32; /* RxBillers Green */
  --dark-heading: #1e2a3b;
  --text-color: #333d42;
  --light-text: #556270;
  --white: #ffffff;
  --light-gray-bg: #f8f9fa;
  --border-color: #e0e0e0;
}

/* Header rxbiller Style */
.main-header-rxbiller {
  /* background-color: var(--white); */
  background-color: var(--maincolor);
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-header-rxbiller .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-rxbiller {
  font-family: "Poppins", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark-heading);
}
.logo-rxbiller span {
  color: var(--accent-green);
} /* RxBillers Green accent */
.main-nav-rxbiller ul {
  display: flex;
  align-items: center;
}
.main-nav-rxbiller ul li {
  margin-left: 28px;
}
.main-nav-rxbiller ul li a {
  /* color: var(--text-color); */
  color:var(--white) ;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}
.main-nav-rxbiller ul li a:hover,
.main-nav-rxbiller ul li a.active {
  color: var(--accent-green);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px; /* Pill shape */
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary-rxbiller {
  background-color: var(--accent-green);
  color: var(--white);
}
.btn-primary-rxbiller:hover {
  background-color: var(--white);
  transform: translateY(-2px);
}
.btn-secondary-rxbiller {
  background-color: var(--accent-green);
  color: var(--dark-heading);
} /* RxBillers Green for secondary */
.btn-secondary-rxbiller:hover {
  background-color: #88b026;
  transform: translateY(-2px);
}
.header-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}
.header-cta i {
  margin-left: 5px;
  font-size: 0.8em;
}

/* Hero Section rxbiller */
.hero-section-rxbiller {
  background-image: url("images/main_Hero.jpg"); /* Replace with actual image */
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  position: relative;
  color: var(--white);
}
.hero-overlay-rxbiller {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 42, 59, 0.6);
} /* Dark overlay */
.hero-content-rxbiller {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-content-rxbiller h1 {
  color: var(--white);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.highlight-green-rxbiller {
  color: var(--accent-green);
} /* RxBillers Green */
.hero-content-rxbiller p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}
.hero-btn {
  padding: 14px 30px;
  font-size: 1rem;
}

/* Section Tag & Title rxbiller */
.section-tag-rxbiller {
  display: inline-block;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-title-rxbiller {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}
.section-title-rxbiller.text-center {
  margin-bottom: 3rem; /* More space if centered */
}
.highlight-blue-rxbiller {
  color: var(--accent-green);
}

/* Impact Section rxbiller */
.impact-grid-rxbiller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.impact-item-rxbiller h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}
.impact-item-rxbiller p {
  color: var(--light-text);
  font-size: 0.95rem;
}

/* Services Section rxbiller */
.services-grid-rxbiller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.service-card-rxbiller {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.service-card-rxbiller:hover {
  transform: translateY(-5px);
}
.service-card-rxbiller img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(30, 42, 59, 0.85), transparent);
  padding: 20px 15px 15px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.service-card-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: 500;
}
.service-card-link {
  color: var(--white);
  font-size: 1.3rem;
  background-color: rgba(255, 255, 255, 0.2);
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.service-card-link:hover {
  background-color: var(--accent-green);
  color: var(--dark-heading);
}

/* Why Us Section rxbiller */
.why-us-grid-rxbiller {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.why-us-image-area {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.why-us-image-area img {
  display: block;
  width: 100%;
}
.why-us-image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(30, 42, 59, 0.9), transparent);
  color: var(--white);
}
.why-us-image-text i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}
.why-us-image-text h4 {
  color: var(--white);
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}
.why-us-image-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.why-us-points-area {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.why-us-point {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--light-gray-bg);
  border-radius: 8px;
}
.why-us-point i {
  font-size: 1.6rem;
  color: var(--accent-green);
  margin-right: 15px;
  min-width: 30px; /* Ensure icon alignment */
  padding-top: 3px;
}
.why-us-point h4 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}
.why-us-point p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--light-text);
}

/* How We Help Section rxbiller */
.how-we-help-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
  flex-wrap: wrap;
}
/* Simple connector line - can be improved with pseudo-elements */
.how-we-help-timeline::before {
  content: "";
  position: absolute;
  top: 45px; /* Adjust based on icon size */
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
  display: none; /* Hide for now, better with JS or more complex CSS */
}
.timeline-item-rxbiller {
  text-align: center;
  flex-basis: calc(25% - 20px); /* For 4 items */
  margin: 10px;
  position: relative;
  z-index: 1;
}
.timeline-icon-rxbiller {
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--accent-green);
  font-size: 1.8rem;
  margin: 0 auto 1rem auto;
  border: 2px solid var(--accent-green);
  box-shadow: 0 0 0 4px var(--white), 0 0 10px rgba(74, 105, 189, 0.2);
}
.timeline-item-rxbiller h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.timeline-item-rxbiller p {
  font-size: 0.9rem;
  color: var(--light-text);
}

/* Expertise Section rxbiller */
.expertise-grid-rxbiller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.expertise-card-rxbiller {
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}
.expertise-card-rxbiller:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}
.expertise-card-rxbiller i {
  font-size: 2.5rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
}
.expertise-card-rxbiller h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.expertise-card-rxbiller p {
  font-size: 0.9rem;
  color: var(--light-text);
}

/* Compatibility Section */
.compatibility-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.compatibility-text ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}
.compatibility-text ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.compatibility-text ul li i {
  color: var(--accent-green);
  margin-right: 10px;
}
.compatibility-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Client Success / Testimonials rxbiller */
.testimonial-slider-rxbiller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-item-rxbiller {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}
.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--accent-green);
  opacity: 0.2;
  position: absolute;
  top: 15px;
  left: 20px;
}
.testimonial-item-rxbiller p {
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.testimonial-author-rxbiller h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.testimonial-author-rxbiller span {
  font-size: 0.85rem;
  color: var(--accent-green);
}
.client-logos-rxbiller {
  margin-top: 3rem;
}
.client-logos-rxbiller .sub-heading-rxbiller {
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.client-logos-rxbiller span {
  margin: 0 15px;
  display: inline-block;
  color: #aaa;
  font-style: italic;
} /* Placeholder style */

/* FAQ Section rxbiller */
.faq-accordion-rxbiller {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item-rxbiller {
  background-color: var(--white);
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden; /* For smooth animation */
}
.faq-item-rxbiller.active {
  border-left: 3px solid var(--accent-green);
}
.faq-question-rxbiller {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question-rxbiller i {
  transition: transform 0.3s ease;
  color: var(--accent-green);
}
.faq-item-rxbiller.active .faq-question-rxbiller i {
  transform: rotate(180deg);
}
.faq-answer-rxbiller {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
}
.faq-answer-rxbiller p {
  font-size: 0.95rem;
  color: var(--light-text);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Contact Section rxbiller */
.contact-wrapper-rxbiller {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.contact-image-area-rxbiller img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-form-content-rxbiller {
  padding: 40px;
}
.contact-form-content-rxbiller .section-title-rxbiller {
  margin-bottom: 2rem;
}
.form-row-rxbiller {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.form-group-rxbiller {
  flex: 1;
  margin-bottom: 15px;
} /* For single items or if row items stack */
.form-group-rxbiller label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-color);
}
.form-group-rxbiller input[type="text"],
.form-group-rxbiller input[type="email"],
.form-group-rxbiller input[type="tel"],
.form-group-rxbiller textarea,
.form-group-rxbiller select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 0.95rem;
  background-color: var(--light-gray-bg);
}
.form-group-rxbiller textarea {
  resize: vertical;
}
.btn.full-width {
  width: 100%;
  padding: 14px;
}

/* Footer rxbiller Style */
.footer-rxbiller {
  background-color: #2a3b4d; /* Dark Blue Footer */
  color: #a8b2c0;
  padding-top: 60px;
}
.footer-main-rxbiller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #3e5067;
}
.footer-bottom-rxbiller p {
    color: #a8b2c0;
}
.footer-logo {
  color: var(--white) !important;
} /* Override default link color */
.footer-logo span {
  color: var(--accent-green) !important;
}
.footer-about-rxbiller p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: #a8b2c0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.social-icons-rxbiller a {
  color: #a8b2c0;
  margin-right: 12px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.social-icons-rxbiller a:hover {
  color: var(--accent-green);
}
.footer-links-rxbiller h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.footer-links-rxbiller ul li {
  margin-bottom: 0.6rem;
}
.footer-links-rxbiller ul li a {
  color: #a8b2c0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-links-rxbiller ul li a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}
.footer-compliance-rxbiller .hipaa-seal-text {
  /* Style your HIPAA seal placeholder */
  font-weight: bold;
  color: var(--white);
  background-color: var(--accent-green);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 5px;
}
.footer-compliance-rxbiller p {
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom-rxbiller {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8a95a3;
}
.footer-bottom-rxbiller a {
  color: #a8b2c0;
}
.footer-bottom-rxbiller a:hover {
  color: var(--accent-green);
}

/* Responsive Menu Toggle - ensure it exists */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-heading);
}

@media (max-width: 992px) {
  .hero-content-rxbiller {
    max-width: 100%;
    text-align: center;
  }
  .hero-content-rxbiller h1 {
    font-size: 2.5rem;
  }
  .why-us-grid-rxbiller {
    grid-template-columns: 1fr;
  }
  .why-us-image-area {
    margin-bottom: 30px;
  }
  .how-we-help-timeline {
    flex-direction: column;
    align-items: center;
  }
  .timeline-item-rxbiller {
    flex-basis: 80%;
    margin-bottom: 30px;
  }
  .timeline-connector-rxbiller {
    display: none;
  } /* Simple hide for now */
  .compatibility-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .compatibility-image {
    order: -1;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-wrapper-rxbiller {
    grid-template-columns: 1fr;
  }
  .contact-image-area-rxbiller {
    display: none; /* Hide image on smaller for form focus */
  }
  /* When menu is open, make hamburger button background black and bars white */
  .menu-toggle.open {
    background: #111 !important;
    border-radius: 8px;
    color: #fff !important;
  }
  .menu-toggle.open span,
  .menu-toggle.open::before,
  .menu-toggle.open::after {
    background: #fff !important;
  }
}

@media (max-width: 768px) {
  /* Styles for screens 768px wide or smaller (typical tablets and phones) */
  
 
  .main-nav-rxbiller {
    background: #fff !important; /* White mobile menu */
  }
  .main-nav-rxbiller a {
    color: #222e3a !important; /* Dark text for menu items */
  }
  .main-nav-rxbiller a:hover,
  .main-nav-rxbiller a.active {
    color: #009688 !important; /* Accent color on hover/active */
    background: #f5f7fa !important;
  }
  .main-header-rxbiller .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo-rxbiller {
    width: 100%;
    /* text-align: center; */
    margin-bottom: 15px;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }
  .main-nav-rxbiller {
    display: none; /* JS will toggle */
    width: 100%;
    order: 3; /* Place below logo and toggle */
    margin-top: 15px;
  }
  .main-nav-rxbiller.active {
    display: block;
  }
  .main-nav-rxbiller ul {
    flex-direction: column;
    align-items: center;
  }
  .main-nav-rxbiller ul li {
    margin: 10px 0;
  }
  .header-cta {
    display: none; /* Can be moved into mobile menu by JS if needed */
  }

  .section-title-rxbiller {
    font-size: 1.9rem;
  }
  .hero-content-rxbiller h1 {
    font-size: 2.2rem;
  }
  .impact-grid-rxbiller {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .impact-item-rxbiller h3 {
    font-size: 2.2rem;
  }
  .form-row-rxbiller {
    flex-direction: column;
    gap: 0;
  }
  .form-row-rxbiller .form-group-rxbiller {
    margin-bottom: 15px;
  } /* Restore bottom margin */
  .footer-main-rxbiller {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons-rxbiller {
    text-align: center;
    margin-top: 10px;
  }
  .footer-bottom-rxbiller {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-rxbiller p {
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  /* Styles for screens 480px wide or smaller (common for phones) */
 
  .main-nav-rxbiller {
    padding: 60px 10px 20px 10px;
    width: 95vw;
    max-width: 100vw;
  }
  .main-nav-rxbiller a {
    font-size: 1.05rem;
    padding: 10px 0;
  }
  .logo-rxbiller img {
    width: 120px !important;
  }
}













/* =================================== */
/*      Responsive Header Styles       */
/* =================================== */

/* --- Mobile First Styles (Default) --- */

.main-header-rxbiller .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Style the menu toggle button */
.menu-toggle {
    display: block;
    background-color: #343921;
    border: none;
    color: var(--dark-blue, #003366);
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1001;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
    top: 30%;
    color: #fff;
}

/* Use a pseudo-element to create the icon with Font Awesome */
.menu-toggle::before {
    font-family: "Font Awesome 6 Free"; /* Crucial: Use the correct Font Awesome family name */
    font-weight: 900; /* Use 900 for solid icons */
    content: "\f0c9"; /* Unicode for the 'bars' icon (☰) */
}

/* When the button has the .active class, change the icon to a close 'X' */
.menu-toggle.active::before {
    content: "\f00d"; /* Unicode for the 'times' icon (X) */
}

/* Optional: Add a subtle rotation for a nicer effect */
.menu-toggle.active {
    transform: rotate(180deg);
    color: #000;
    top: 18%;
    right: 00;
}
.main-nav-rxbiller {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 60px;
}

.main-nav-rxbiller.active {
    transform: translateX(0);
    margin-top: 0;
}

.main-nav-rxbiller ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.main-nav-rxbiller ul li {
    width: 100%;
    text-align: left;
}

.main-nav-rxbiller ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 1.1rem;
    /* color: var(--dark-blue, #003366); */
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

/* .main-nav-rxbiller ul li a:hover,
.main-nav-rxbiller ul li a.active {
    background-color: var(--light-gray, #f8f9fa);
    color: var(--primary-green, #9ACD32);
} */

.header-cta {
    display: none;
}


/* --- Desktop Styles (for screens 992px and wider) --- */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .main-nav-rxbiller {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        transform: none;
        transition: none;
        padding-top: 0;
    }

    .main-nav-rxbiller ul {
        flex-direction: row;
        gap: 10px;
    }

    .main-nav-rxbiller ul li {
        width: auto;
    }
    
    .main-nav-rxbiller ul li a {
        padding: 10px 15px;
        border-bottom: none;
            /* color: var(--text-color); */
        color: var(--white);
    }
    

    .header-cta {
        display: inline-flex;
        align-items: center;
    }
}



