/* =====================
BASE
===================== */
html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 1.7;
  color: #364d59;
  background: #fff;
}

/* =====================
NAVBAR
===================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f9f6;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
}

.nav-links a {
  color: green;
  text-decoration: none;
}

.nav-links a:hover {
  color: darkred;
}

/* =====================
INFO SECTION
===================== */
.info-section {
  display: flex;
  flex-wrap: wrap;
  background: lightgoldenrodyellow;
}

.image-container { flex: 1.5; }
.text-container { flex: 1; padding: 30px; }

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================
SECTIONS
===================== */
.section-center {
  text-align: center;
  padding: 60px 20px;
}

/* =====================
WHY SECTION
===================== */
.why-container,
.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.why-card,
.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

/* =====================
PROVIDERS
===================== */
.providers-section {
  padding: 60px 20px;
}

.providers-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.provider-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.provider-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* =====================
DRAWER
===================== */
.provider-drawer {
  position: fixed;
  right: -100%;
  top: 0;
  width: 400px;
  height: 100%;
  background: #fff;
  transition: 0.3s;
  z-index: 9999;
  padding: 20px;
}

.provider-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =====================
FOOTER
===================== */
.site-footer {
  background: #0f3d2e;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}












/* =========================
   SECTION BACKGROUND (MATCH SITE GREEN)
========================= */
.providers-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    background: #f3f9f6; /* soft medical green tint */
    border-radius: 12px;
}

/* =========================
   HEADINGS
========================= */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

/* =========================
   LIST LAYOUT
========================= */
.providers-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* =========================
   PROVIDER ITEM (CLEAN CARD STYLE)
========================= */
.provider-item {
    display: flex;
    gap: 25px;
    padding: 20px;
    border-bottom: 1px solid #e9e9e9;
    border-radius: 10px;
    transition: all 0.25s ease;
}

/* Hover emphasis (subtle + professional) */
.provider-item:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Image */
.provider-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.25s ease;
}

.provider-item:hover .provider-img {
    transform: scale(1.02);
}

/* =========================
   TEXT STYLING
========================= */
.provider-info h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 2px 0;
}

.credentials {
    font-size: 0.85rem;
    color: #444;
    font-weight: 500;
    margin: 0;
}

.role {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
}

.preview {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #333;
}

/* =========================
   BUTTON
========================= */
.open-drawer {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    color: #1f2937;
}

/* =========================
   DRAWER (SLIDE OUT PANEL)
========================= */
.provider-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 420px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding: 30px;
}

.provider-drawer.active {
    right: 0;
}

/* Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9998;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer content */
.drawer-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.drawer-name {
    font-size: 1.4rem;
    font-weight: 600;
}

.drawer-credentials {
    font-size: 0.85rem;
    color: #555;
}

.drawer-role {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.drawer-bio {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Close button */
.drawer-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    .provider-item {
        flex-direction: column;
    }

    .provider-img {
        width: 100%;
        height: auto;
    }

    .provider-drawer {
        width: 100%;
    }
}