* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #F47A20;
  --orange-dark: #E06810;
  --blue: #005C8A;
  --blue-dark: #003F5E;
  --gray: #333333;
  --gray-light: #f5f5f5;
  --gray-mid: #666666;
  --white: #ffffff;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray);
  line-height: 1.6;
  padding-top: 80px;
}

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

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo a {
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--gray);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
}

nav a:hover,
nav a.active {
  color: var(--orange);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
}

.btn-blue:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Section styling */
.section {
  padding: 80px 20px;
}

.section-gray {
  background: var(--gray-light);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: center;
  color: var(--blue);
}

.section-blue .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--gray-mid);
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-blue .section-subtitle {
  color: rgba(255,255,255,0.85);
}

/* Feature cards (home page) */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card img {
  width: 120px;
  height: 135px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray-mid);
  font-size: 15px;
}

.feature-card .btn {
  margin-top: 20px;
}

/* Two column layouts */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col img {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.col-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.col-content p {
  font-size: 16px;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.col-content .btn {
  margin-top: 10px;
}

/* Services list */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style: none;
  margin-top: 30px;
}

.services-grid li {
  padding: 12px 20px;
  background: var(--gray-light);
  border-left: 4px solid var(--orange);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  border-radius: 0 4px 4px 0;
}

/* Providers */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.provider-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  text-align: center;
}

.provider-card:hover {
  transform: translateY(-5px);
}

.provider-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.provider-info {
  padding: 20px;
}

.provider-info h3 {
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 5px;
}

.provider-info .specialty {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 5px;
  font-weight: 600;
}

.provider-info .location {
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 15px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--white);
  border-radius: 8px;
  padding: 35px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-card h3 {
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
}

.contact-card p {
  margin-bottom: 8px;
  color: var(--gray-mid);
}

.contact-card strong {
  color: var(--gray);
}

.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 35px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  margin-top: 40px;
}

.contact-form h3 {
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--gray);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.3s;
}

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

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.testimonial p {
  font-size: 18px;
  font-style: italic;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.testimonial .author {
  font-weight: 700;
  color: var(--blue);
  font-style: normal;
}

/* Footer */
footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 50px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--orange);
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .two-col img {
    height: 300px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  header {
    height: 70px;
  }

  .logo img {
    height: 35px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    gap: 15px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 28px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .page-header h1 {
    font-size: 30px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .two-col img {
    height: 250px;
  }
}
