:root {
  --primary-color: #1B3A4B;
  --secondary-color: #D2E4DC;
  --accent-color: #4CAF50;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-light: #ffffff;
  --dark-bg: #121212;
  --gray-text: #9e9e9e;
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --error-color: #EF4444;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.specialty-hero {
  height: 70vh;
  background: linear-gradient(135deg, rgba(27, 58, 75, 0.9), rgba(76, 175, 80, 0.1)),
              url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&q=80');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: var(--nav-height-desktop);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(27, 58, 75, 0.85), rgba(76, 175, 80, 0.1));
}

.specialty-hero .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 600px;
}

.highlight {
  color: var(--accent-color);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.card-icon i {
  font-size: 1.5rem;
  color: white;
}

.floating-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.floating-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Specialty Services Section */
.specialty-services {
  padding: 5rem 0;
  background: var(--background-light);
}

.services-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.services-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.services-intro p {
  font-size: 1.2rem;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.service-icon i {
  font-size: 1.8rem;
  color: white;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service-card li {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: '•';
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Why Choose Specialty Section */
.specialty-why-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.why-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.why-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.why-intro p {
  font-size: 1.1rem;
  color: var(--gray-text);
}

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

.why-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.why-icon i {
  font-size: 1.5rem;
  color: white;
}

.why-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Specialty Process Section */
.specialty-process {
  padding: 5rem 0;
  background: var(--background-light);
}

.process-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.process-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.process-intro p {
  font-size: 1.1rem;
  color: var(--gray-text);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  background: var(--accent-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.process-step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Equipment Section */
.equipment-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.equipment-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.equipment-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.equipment-intro p {
  font-size: 1.1rem;
  color: var(--gray-text);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.equipment-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.equipment-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.equipment-icon i {
  font-size: 1.5rem;
  color: white;
}

.equipment-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.equipment-card p {
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Final CTA Section */
.specialty-final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--accent-color), #45a049);
}

.cta-content {
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.primary-cta {
  background: white;
  color: var(--accent-color);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.secondary-cta {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .specialty-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .equipment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .specialty-hero {
    height: 60vh;
    min-height: 450px;
    padding: 2rem 0;
  }

  .specialty-hero .hero-content {
    padding: 0 1rem;
    gap: 0;
    grid-template-columns: 1fr;
    align-items: flex-start;
    justify-content: center;
  }

  /* Hide the floating card on mobile */
  .specialty-hero .hero-visual .floating-card {
    display: none !important;
  }

  .hero-text h1 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800 !important;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }

  /* Hide hero stats badges on mobile - cleaner, more focused */
  .hero-stats {
    display: none !important;
  }

  /* Enhanced Specialty Services Section for Mobile - Matching Construction */
  .specialty-services {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  }

  .services-intro {
    text-align: left !important;
    margin-bottom: 2.5rem !important;
    padding: 0 !important;
    position: relative !important;
  }

  /* Full-width styled box container for header */
  .services-intro::after {
    content: '' !important;
    position: absolute !important;
    left: -1rem !important;
    right: -1rem !important;
    top: -1.5rem !important;
    bottom: -1.5rem !important;
    background: linear-gradient(135deg, 
      rgba(76, 175, 80, 0.08) 0%,
      rgba(76, 175, 80, 0.03) 30%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(27, 58, 75, 0.02) 70%,
      rgba(76, 175, 80, 0.05) 100%) !important;
    border: 2px solid rgba(76, 175, 80, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.06),
      0 2px 8px rgba(76, 175, 80, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    z-index: -1 !important;
    overflow: hidden !important;
  }

  /* Decorative corner shapes */
  .services-intro::before {
    content: '' !important;
    position: absolute !important;
    top: -1.5rem !important;
    left: -1rem !important;
    width: 80px !important;
    height: 80px !important;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.12) 0%, transparent 70%) !important;
    border-radius: 0 0 100% 0 !important;
    z-index: -1 !important;
  }

  .services-intro h2 {
    font-size: 2.5rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    letter-spacing: -0.8px !important;
    position: relative !important;
    padding: 1.5rem 1.25rem 1.75rem 1.25rem !important;
    display: block !important;
    width: 100% !important;
    text-transform: none !important;
    text-align: left !important;
    z-index: 1 !important;
  }

  /* Clean thick starting border fading to gradient */
  .services-intro h2::after {
    content: '' !important;
    position: absolute !important;
    left: 1.25rem !important;
    bottom: 0.5rem !important;
    width: 100% !important;
    height: 6px !important;
    background: linear-gradient(90deg, 
      var(--accent-color) 0%,
      var(--accent-color) 15%,
      rgba(76, 175, 80, 0.6) 30%,
      rgba(76, 175, 80, 0.3) 50%,
      rgba(76, 175, 80, 0.1) 70%,
      transparent 100%) !important;
    border-radius: 3px !important;
    z-index: 2 !important;
  }

  .services-intro p {
    display: none; /* Hide paragraph on mobile - redundant with service cards */
  }

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

  .service-card {
    padding: 2rem 1.75rem;
    text-align: left;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #45a049);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  .service-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 1.5rem 0;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35), 0 2px 8px rgba(76, 175, 80, 0.2);
    background: linear-gradient(135deg, var(--accent-color) 0%, #45a049 100%);
    transition: all 0.3s ease;
  }

  .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.45);
  }

  .service-icon i {
    font-size: 1.75rem;
    color: white;
  }

  .service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
    text-align: left;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;
  }

  .service-card p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    text-align: left;
    color: #495057;
    font-weight: 400;
  }

  .service-card ul {
    text-align: left;
    margin-top: 0.75rem;
    padding-left: 0;
  }

  .service-card li {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    line-height: 1.5;
    color: #212529;
    font-weight: 500;
    position: relative;
  }

  .service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
  }

  /* Hide redundant sections on mobile for better UX */
  .specialty-why-section,
  .specialty-process,
  .equipment-section {
    display: none !important;
  }

  .why-intro h2,
  .process-intro h2,
  .equipment-intro h2,
  .cta-content h2 {
    font-size: 2rem;
  }

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

  .why-card,
  .process-step,
  .equipment-card {
    padding: 2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    max-width: 300px;
  }

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

@media (max-width: 480px) {
  .specialty-hero {
    height: 55vh;
    min-height: 400px;
    padding: 1.5rem 0;
  }

  .specialty-hero .hero-content {
    padding: 0 1rem;
    gap: 1rem;
  }

  .hero-text h1 {
    font-size: 2.25rem !important;
    margin-bottom: 0.75rem;
    font-weight: 800 !important;
  }

  .hero-text p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
  }

  /* Hero stats already hidden via 768px media query */

  .floating-card {
    padding: 1.5rem;
  }

  /* Enhanced styling for small mobile */
  .specialty-services {
    padding: 3rem 0;
  }

  .services-intro {
    margin-bottom: 2rem;
    padding: 0;
  }

  .services-intro::after {
    left: -0.75rem;
    right: -0.75rem;
    top: -1.25rem;
    bottom: -1.25rem;
    border-radius: 14px;
  }

  .services-intro::before {
    top: -1.25rem;
    left: -0.75rem;
    width: 70px;
    height: 70px;
  }

  .services-intro h2 {
    font-size: 2.25rem;
    padding: 1.25rem 1rem 1.5rem 1rem;
  }

  .services-intro h2::after {
    left: 1rem;
    bottom: 0.5rem;
    width: 100%;
    height: 5px;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
  }

  .service-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 1.25rem;
  }

  .service-icon i {
    font-size: 1.6rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .service-card p {
    font-size: 0.9375rem;
    margin-bottom: 1.125rem;
  }

  .service-card li {
    font-size: 0.875rem;
    margin-bottom: 0.45rem;
    padding-left: 1.375rem;
  }

  .service-card,
  .why-card,
  .process-step,
  .equipment-card {
    padding: 1.5rem;
  }
}

/* Hide mobile sticky CTA on desktop */
@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

/* Mobile Sticky CTA - Mobile Only */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }
  
  .mobile-sticky-phone,
  .mobile-sticky-quote {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  
  .mobile-sticky-phone {
    background: var(--accent-color, #4CAF50);
    color: white;
  }
  
  .mobile-sticky-phone:hover {
    background: #45a049;
    transform: translateY(-2px);
  }
  
  .mobile-sticky-quote {
    background: var(--primary-color, #1b3a4b);
    color: white;
  }
  
  .mobile-sticky-quote:hover {
    background: #2a3d5a;
    transform: translateY(-2px);
  }
  
  .mobile-sticky-phone i,
  .mobile-sticky-quote i {
    font-size: 1.1rem;
  }
  
  /* Add padding to body to prevent content from being hidden behind sticky bar */
  body {
    padding-bottom: 80px;
  }
}





