/* DentalForce Site Styles */

:root {
  --df-primary: #003087;
  --df-secondary: #00a3b5;
  --df-accent: #f5a623;
  --df-light: #f8f9fa;
  --df-dark: #1a1a2e;
  --df-text: #333333;
  --df-muted: #6c757d;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--df-text);
  margin-bottom: 0;
}

/* Navbar */
.navbar-brand img {
  height: 36px;
}

/* Bootstrap collapse fix: keep nav visible on desktop even with .collapse class */
@media (min-width: 992px) {
  .nav-menu-wrapper {
    display: block !important;
  }
}

/* Bootstrap collapse fix: show nav on mobile when hamburger is opened */
.nav-menu-wrapper.show {
  display: block !important;
}

/* Hide the Webflow icon arrow — the Bootstrap dropdown caret is used instead */
.w-dropdown-toggle .w-icon-dropdown-toggle {
  display: none;
}

/* Keep the caret inline with the label — prevent wrapping */
.w-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.w-nav-brand .image {
  width: auto;
  height: 40px;
  max-width: 200px;
  object-fit: contain;
}

.navbar-brand .brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--df-primary);
  letter-spacing: -0.5px;
}

.navbar-brand .brand-text span {
  color: var(--df-secondary);
}

.site-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: .75rem 0;
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.site-nav .nav-link {
  color: var(--df-text) !important;
  font-weight: 500;
  padding: .5rem 1rem !important;
  transition: color 0.2s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--df-primary) !important;
}

.btn-nav-signup {
  background: var(--df-secondary);
  color: #fff !important;
  border-radius: 6px;
  padding: .4rem 1.2rem !important;
  font-weight: 600;
}

.btn-nav-signup:hover {
  background: var(--df-primary);
  color: #fff !important;
}

/* Hero Sections */
.hero {
  background: linear-gradient(135deg, var(--df-primary) 0%, #005ab5 60%, var(--df-secondary) 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.2rem;
  opacity: .9;
  max-width: 560px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--df-primary) 0%, #005ab5 100%);
  color: white;
  padding: 3.5rem 0 2.5rem;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

/* Buttons */
.btn-primary-df {
  background: var(--df-secondary);
  border: none;
  color: white;
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-df:hover {
  background: #008fa0;
  color: white;
  transform: translateY(-1px);
}

.btn-outline-df {
  background: transparent;
  border: 2px solid white;
  color: white;
  font-weight: 600;
  padding: .7rem 2rem;
  border-radius: 8px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-df:hover {
  background: rgba(255,255,255,.15);
  color: white;
}

.btn-df-blue {
  background: var(--df-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 8px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-df-blue:hover {
  background: #004db5;
  color: white;
}

/* Stats Bar */
.stats-bar {
  background: white;
  padding: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--df-primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: .9rem;
  color: var(--df-muted);
  margin-top: .25rem;
}

/* Feature Cards */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--df-primary);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--df-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--df-primary), var(--df-secondary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

/* Audience Cards (For Practices / For Professionals) */
.audience-section {
  padding: 5rem 0;
}

.audience-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.audience-card .card-header-custom {
  padding: 2rem 2.5rem 1.5rem;
  color: white;
}

.audience-card .card-header-custom.practices {
  background: linear-gradient(135deg, var(--df-primary), #005ab5);
}

.audience-card .card-header-custom.professionals {
  background: linear-gradient(135deg, var(--df-secondary), #007a8a);
}

.audience-card .card-body-custom {
  padding: 2rem 2.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: .5rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--df-text);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--df-secondary);
  font-weight: 700;
  font-size: 1rem;
}

/* Steps (How It Works) */
.steps-section {
  padding: 5rem 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--df-primary), var(--df-secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-weight: 600;
  color: var(--df-primary);
  margin-bottom: .5rem;
}

/* Testimonials */
.testimonials-section {
  background: var(--df-light);
  padding: 5rem 0;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  height: 100%;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--df-text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-text::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--df-secondary);
  line-height: 0;
  vertical-align: -0.6em;
  margin-right: .25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--df-primary), var(--df-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--df-primary);
  margin-bottom: .1rem;
}

.author-role {
  font-size: .85rem;
  color: var(--df-muted);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--df-secondary) 0%, var(--df-primary) 100%);
  color: white;
  padding: 4.5rem 0;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* News Cards */
.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  height: 100%;
  transition: transform 0.2s;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-card-body {
  padding: 1.5rem;
}

.news-category {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--df-secondary);
  margin-bottom: .5rem;
}

.news-date {
  font-size: .85rem;
  color: var(--df-muted);
}

.news-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--df-primary);
  margin-bottom: .75rem;
  line-height: 1.4;
}

/* Jobs Page */
.job-search-bar {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.job-description-preview {
  max-height: 3.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.08);
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 1rem;
}

.job-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-1px);
}

.job-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--df-primary);
  margin-bottom: .25rem;
}

.job-practice {
  color: var(--df-muted);
  font-size: .9rem;
}

.badge-urgent {
  background: #dc3545;
  color: white;
  font-size: .75rem;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-weight: 600;
}

.badge-job-type {
  background: var(--df-light);
  color: var(--df-primary);
  font-size: .8rem;
  padding: .2rem .7rem;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid rgba(0,48,135,.15);
}

.badge-distance {
  display: inline-block;
  margin-left: .5rem;
  font-size: .75rem;
  color: var(--df-secondary);
  font-weight: 500;
}

/* Contact Page */
.contact-form-section {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--df-primary), var(--df-secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--df-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}

.footer-brand .brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.footer-brand .brand-text span {
  color: var(--df-secondary);
}

.footer-desc {
  font-size: .9rem;
  opacity: .7;
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--df-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
  border-color: var(--df-secondary);
  box-shadow: 0 0 0 0.2rem rgba(0,163,181,.15);
}

textarea.form-control {
  font-size: 1rem;
}

/* Utility */
.bg-light-df {
  background: var(--df-light);
}

.text-primary-df {
  color: var(--df-primary) !important;
}

.text-secondary-df {
  color: var(--df-secondary) !important;
}

.section-pad {
  padding: 5rem 0;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--df-primary), var(--df-secondary));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.divider-left {
  margin: 0 0 1.5rem;
}

/* Alert Styles */
.alert-success-df {
  background: #d1f7e0;
  border: 1px solid #34c768;
  color: #1a7a3a;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

/* Stars for testimonials */
.stars {
  color: #f5a623;
  margin-bottom: .75rem;
  letter-spacing: 2px;
}

/* Contact section — keep form and image side by side on tablet and above */
@media screen and (min-width: 768px) {
  .section7 .row-horizontal.top-margiin.vertical_mobile {
    flex-flow: row;
    align-items: center;
  }

  .section7 .s7-leftblock {
    width: 50%;
    padding-right: 20px;
    margin-top: 0;
    display: block;
  }

  .section7 .s7-rightblock {
    order: 0;
    width: 50%;
    justify-content: flex-end;
  }
}
