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

.service-hero {
  height: 60vh;
  background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&amp;fit=crop&amp;q=80') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 80px;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hero-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 4rem 3rem;
  width: 65%;
  max-width: 800px;
  margin-left: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 1;
  color: var(--text-color);
  font-weight: 400;
}

.hero-content .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.hero-content .cta-button:hover {
  transform: translateY(-2px);
  background: #ffed4a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Mobile Hero Section - Matching Homepage Design */
@media (max-width: 768px) {
  .ndc-services-hero-mobile {
    min-height: 55vh;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    background: linear-gradient(135deg, rgba(27, 58, 75, 0.85) 0%, rgba(27, 58, 75, 0.75) 50%, rgba(76, 175, 80, 0.15) 100%), 
                url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&amp;fit=crop&amp;q=80');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    color: white;
  }

  .ndc-services-hero-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(76, 175, 80, 0.1) 100%);
    z-index: 1;
  }

  .ndc-services-hero-mobile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(27, 58, 75, 0.9), transparent);
    z-index: 1;
  }

  .ndc-services-hero-mobile .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
  }

  .ndc-services-hero-mobile .hero-content::before {
    display: none;
  }

  .ndc-services-hero-mobile .hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: none;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -1px;
    animation: slideInUp 0.8s ease-out;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(27, 58, 75, 0.8);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .ndc-services-hero-mobile .hero-subtitle {
    display: block;
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    animation: slideInUp 0.8s ease-out 0.2s both;
  }

  .ndc-services-hero-mobile .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
    animation: slideInUp 1s ease-out 0.4s both;
  }

  .ndc-services-hero-mobile .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 0;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: var(--accent-color);
    color: white;
    border: none;
    text-decoration: none;
    display: inline-block;
  }

  .ndc-services-hero-mobile .cta-button:active {
    transform: scale(0.98);
  }

  .ndc-services-hero-mobile .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    background: #45a049;
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hide desktop hero on mobile */
  .service-hero {
    display: none;
  }
}

/* Show desktop hero only on desktop */
@media (min-width: 769px) {
  .ndc-services-hero-mobile {
    display: none;
  }
}

/* Hide desktop hero on mobile and show mobile hero */
@media (max-width: 768px) {
  .service-hero {
    display: none !important;
  }
  
  .ndc-services-hero-mobile {
    display: flex !important;
  }
}

.commercial-solutions-overview {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.commercial-solutions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.commercial-solutions-header {
  text-align: center;
  margin-bottom: 3rem;
}

.commercial-solutions-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.commercial-solutions-intro {
  color: #666;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.commercial-solutions-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.commercial-solutions-feature {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.expand-button {
  background: var(--accent-color);
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  margin-top: 10px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expand-button i {
  transition: transform 0.3s ease;
}

.expand-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.commercial-solutions-feature.expanded .expand-button i {
  transform: rotate(180deg);
}

.feature-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.commercial-solutions-feature.expanded .feature-expanded {
  max-height: 500px;
  margin-top: 1rem;
}

.commercial-feature-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.feature-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-content p {
  color: #666;
  line-height: 1.6;
}

.feature-preview {
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin: 1.5rem 0 0.5rem 0;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .service-hero {
    height: 60vh;
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 0 0 3rem 0;
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    width: 85%;
    max-width: 400px;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
  }

  .hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 1;
  }

  .hero-content .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    width: auto;
    display: inline-block;
  }

  .commercial-solutions-overview {
    padding: 2rem 1rem;
  }

  /* Mobile Services Redesign */
  .ndc-mobile-services .commercial-solutions-header {
    text-align: left;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .ndc-mobile-services .commercial-solutions-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .ndc-mobile-services .commercial-solutions-intro {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
  }

  .ndc-mobile-services .section-divider {
    background: var(--accent-color);
    height: 3px;
    width: 60px;
    margin: 1.5rem 1rem;
    border-radius: 2px;
  }

  .ndc-mobile-services .service-section-header {
    background: linear-gradient(135deg, var(--primary-color), #2a4a5b);
    color: white;
    padding: 1rem;
    margin: 2rem 0 0 0;
    text-align: center;
    position: relative;
  }

  .ndc-mobile-services .service-section-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
  }

  .ndc-mobile-services .service-section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary-color);
  }

  .ndc-mobile-services .mobile-accordion {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  .ndc-mobile-services .accordion-header {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ndc-mobile-services .accordion-header-content {
    flex: 1;
  }

  .ndc-mobile-services .accordion-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
  }

  .ndc-mobile-services .accordion-summary {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
  }

  .ndc-mobile-services .accordion-toggle {
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 1rem;
  }

  .ndc-mobile-services .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .ndc-mobile-services .accordion-details {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    background: white;
  }

  .ndc-mobile-services .accordion-details p {
    margin: 0 0 1rem 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
  }

  .ndc-mobile-services .feature-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }

  .ndc-mobile-services .feature-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
  }

  .ndc-mobile-services .feature-highlights li::before {
    content: "✓";
    min-width: 16px;
    margin-top: 0.1rem;
    color: var(--accent-color);
    font-weight: bold;
  }

  .ndc-mobile-services .mobile-cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
  }

  .ndc-mobile-services .mobile-cta-button:hover {
    background: #45a049;
  }

  /* Static Industries Card */
  .ndc-mobile-services .mobile-industries-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  .ndc-mobile-services .industries-header {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
  }

  .ndc-mobile-services .industries-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
  }

  .ndc-mobile-services .industries-summary {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
  }

  .ndc-mobile-services .industries-content {
    padding: 1rem;
    background: white;
  }

  .ndc-mobile-services .industries-content p {
    margin: 0 0 1rem 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
  }

  /* Accordion Interaction */
  .ndc-mobile-services .accordion-checkbox {
    display: none;
  }

  .ndc-mobile-services .accordion-checkbox:checked + .accordion-header .accordion-toggle {
    transform: rotate(45deg);
  }

  .ndc-mobile-services .accordion-checkbox:checked + .accordion-header .accordion-toggle::before {
    content: "−";
  }

  .ndc-mobile-services .accordion-checkbox:checked ~ .accordion-content {
    max-height: 1000px;
  }

  /* Service Gallery Mobile Adjustments */
  .ndc-mobile-services .service-gallery {
    padding: 2rem 1rem;
  }

  .ndc-mobile-services .service-gallery h2 {
    font-size: 1.6rem;
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .ndc-mobile-services .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .ndc-mobile-services .gallery-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  /* CTA Section Mobile */
  .ndc-mobile-services .cta-section {
    padding: 3rem 1rem;
    text-align: center;
  }

  .ndc-mobile-services .cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .ndc-mobile-services .cta-features {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Hide desktop version on mobile */
  .commercial-solutions-content {
    display: block;
  }

  .ndc-mobile-services {
    display: none !important;
  }

  /* Show mobile version only on mobile */
  @media (max-width: 768px) {
    .commercial-solutions-content {
      display: none;
    }

    .ndc-mobile-services {
      display: block !important;
    }
  }
}

.service-area-coverage {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.coverage-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
}

.coverage-header i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.coverage-header h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 0;
}

.service-area-coverage p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1.1rem;
  margin: 0;
}

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

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

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-features i {
  color: var(--accent-color);
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 1.5rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}
/* Service Gallery Styles */
.service-gallery {
  padding: 4rem 0;
  background: #f8fafc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

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

.image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.image-overlay p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.gallery-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 0;
  padding: 0.5rem;
  text-align: center;
  background: rgba(32, 168, 147, 0.1);
  border-radius: 6px;
}

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

.cert-highlight {
  background: white;
  padding: 1rem;
}

.cert-image {
  height: 250px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }

  .gallery-item {
    flex: 0 0 90%;
    scroll-snap-align: center;
    margin-right: 1rem;
  }

  .gallery-image {
    height: 250px;
  }

  .commercial-solutions-header h2,
  .commercial-solutions-intro {
    display: none;
  }

  .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s ease;
  }

  .carousel-dot.active {
    background: var(--accent-color);
  }
}