:root {
  --primary-color: #1B3A4B;
  --secondary-color: #D2E4DC;
  --accent-color: #4CAF50;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-light: #ffffff;
}

.service-hero {
  height: 45vh;
  background: linear-gradient(rgba(27, 58, 75, 0.85), rgba(27, 58, 75, 0.85)), 
              url('../jpeg/officebuilding.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  color: var(--light-text);
  padding: 2rem 20px;
}

.service-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.6;
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.service-details {
  margin-bottom: 4rem;
}

.service-details h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-details p {
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 1000px;
}

.feature-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

@media (max-width: 768px) {
  .service-features {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: #555;
  font-size: 1.1rem;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.benefits-section {
  background: linear-gradient(rgba(27, 58, 75, 0.97), rgba(27, 58, 75, 0.97)),
              url('../jpeg/office2.jpeg');
  background-size: cover;
  padding: 6rem 2rem;
  color: white;
  margin: 0;
  text-align: center;
}

.benefits-header {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent-color);
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

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

.benefit-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1.1rem;
}

.cta-container {
  text-align: center;
  margin: 3rem auto;
  max-width: 800px;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: #1a8b7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Healthcare Facilities Section */
.healthcare-facilities-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.facilities-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.facilities-content h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.facilities-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.facilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facilities-list li {
  padding: 0.75rem 0;
  color: #555;
  font-size: 1.1rem;
  position: relative;
  padding-left: 2rem;
  line-height: 1.5;
}

.facilities-list li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.facilities-cta {
  margin-top: 2.5rem;
}

.facilities-quote-btn {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.facilities-quote-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.facilities-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.medical-facility-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.medical-facility-image:hover {
  transform: scale(1.02);
}

.placeholder-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.2rem;
}

.placeholder-image::before {
  content: "Healthcare Facility Photo";
  background: #e2e8f0;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 768px) {
  .service-hero {
    height: 35vh;
    margin-top: 70px;
    padding: 1.5rem 15px;
  }

  .service-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .service-hero p {
    font-size: 1rem;
    max-width: 90%;
  }

  .healthcare-facilities-section {
    padding: 3rem 1.5rem;
  }

  .facilities-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .facilities-content {
    padding: 0 1rem;
  }

  .facilities-content h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .facilities-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .facilities-list {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .facilities-list li {
    font-size: 1rem;
    padding: 0.6rem 0;
    padding-left: 2rem;
    line-height: 1.4;
    position: relative;
  }

  .facilities-list li::before {
    top: 0.6rem;
    left: 0;
  }

  .facilities-cta {
    text-align: center;
    margin-top: 2rem;
  }

  .facilities-quote-btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
    max-width: 280px;
  }

  .medical-facility-image,
  .placeholder-image {
    height: 250px;
  }

  .service-content {
    padding: 3rem 1rem;
  }

  .service-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .service-details p {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .service-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .feature-item {
    padding: 1.5rem;
  }

  .feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .feature-list li {
    font-size: 1rem;
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
  }

  .feature-list li:before {
    position: absolute;
    left: 0;
    top: 0.6rem;
  }

  .cta-container {
    margin: 2.5rem auto;
    padding: 0 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
    max-width: 300px;
  }

  .service-area-coverage {
    margin: 2rem auto;
    padding: 1.5rem;
  }

  .service-area-coverage p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .benefits-section {
    padding: 4rem 1rem;
  }

  .benefits-header {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-card h3 {
    font-size: 1.2rem;
  }

  .benefit-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-hero {
    height: 30vh;
    padding: 1rem 10px;
  }

  .service-hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    text-align: left; 
    margin-left: 5%; 
  }

  .service-hero p {
    font-size: 0.95rem;
    text-align: left; 
    margin-left: 5%; 
  }

  .healthcare-facilities-section {
    padding: 2rem 1rem;
  }

  .facilities-content {
    padding: 0 1.5rem;
  }

  .facilities-content h2 {
    font-size: 1.75rem;
    text-align: left; 
  }

  .facilities-subtitle {
    font-size: 1rem;
    text-align: left; 
  }

  .facilities-list {
    padding: 0 1.5rem;
  }

  .facilities-list li {
    font-size: 0.95rem;
    padding-left: 2rem;
    position: relative;
  }

  .facilities-list li::before {
    position: absolute;
    left: 0;
    top: 0.4rem;
  }

  .facilities-quote-btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }

  .medical-facility-image,
  .placeholder-image {
    display: none; 
    height: 200px;
  }

  .service-content {
    padding: 2rem 0.75rem;
  }

  .service-details h2 {
    font-size: 1.75rem;
    text-align: left; 
    margin-left: 5%; 
  }

  .service-details p {
    font-size: 0.95rem;
    padding: 0;
    text-align: left; 
    margin-left: 5%;
  }

  .feature-item {
    padding: 1.25rem;
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .feature-list li {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
  }

  .feature-list li:before {
    position: absolute;
    left: 0;
    top: 0.5rem;
  }

  .benefits-section {
    padding: 3rem 0.75rem;
  }

  .benefits-header {
    font-size: 1.75rem;
  }

  .benefit-card {
    padding: 1.25rem;
  }
}

/* Service area coverage styling */
.service-area-coverage {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-area-coverage .coverage-header {
  text-align: center;
  margin-bottom: 2rem;
}

.service-area-coverage .coverage-header h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin: 0.5rem 0;
}

.service-area-coverage p {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.service-area-coverage a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.service-area-coverage a:hover {
  color: var(--accent-color);
}

.service-areas-list {
  margin: 2rem 0;
}

.coverage-intro {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-areas-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.service-areas-list li {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.service-areas-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.service-areas-list a {
  font-weight: 600;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 2.5rem;
  }

  .service-hero p {
    font-size: 1.1rem;
  }

  .service-content {
    padding: 3rem 1rem;
  }

  .feature-item {
    padding: 2rem;
  }

  .benefits-section {
    padding: 4rem 1.5rem;
  }
}