/* Global Enhancements */
:root {
  /* Primary brand colors */
  --primary-color: #ffc800;
  --primary-dark: #e0b000;
  --primary-light: #ffd740;
  
  /* Secondary colors */
  --secondary-color: #6c757d;
  --secondary-dark: #5a6268;
  --secondary-light: #868e96;
  
  /* Brand accent colors */
  --accent-color: #0077b5;
  --accent-dark: #005b8c;
  --accent-light: #1a89c7;
  
  /* Neutral colors */
  --dark-color: #212529;
  --dark-muted: #343a40;
  --medium-dark: #495057;
  --medium-color: #6c757d;
  --medium-light: #adb5bd;
  --light-muted: #e9ecef;
  --light-color: #f8f9fa;
  
  /* Success/Error states */
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  
  /* Aviation industry specific colors */
  --sky-blue: #b8d8f8;
  --deep-navy: #0a2351;
  --tech-gray: #e5e5e5;
  --metal-silver: #c0c0c0;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 4rem;
  
  /* Typography */
  --body-font: 'Roboto Slab', serif;
  --heading-font: 'Montserrat', sans-serif;
  --base-font-size: 1rem;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.75rem;
  --h4-size: 1.5rem;
  --small-font: 0.875rem;
  
  /* Effects */
  --transition-speed: 0.3s;
  --transition-timing: ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --box-shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
  --box-shadow-md: 0 5px 15px rgba(0,0,0,0.05);
  --box-shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
  --hover-transform: translateY(-5px);
  
  /* Z-index layers */
  --z-background: -1;
  --z-default: 1;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Animation Enhancements */
.card {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
  transform: var(--hover-transform);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card .mb-4 i {
  transition: transform var(--transition-speed) ease;
}

.card:hover .mb-4 i {
  transform: scale(1.15);
  color: var(--primary-color);
}

/* Button hover effect */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: scale(0);
  transform-origin: bottom center;
  transition: transform 0.5s ease;
  z-index: -1;
}

.btn:hover:after {
  transform: scale(3);
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Sticky CTA button */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.sticky-cta .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Testimonial enhancements */
.testimonial-card {
  box-shadow: var(--box-shadow-md);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.testimonial-card:hover {
  transform: var(--hover-transform);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

/* Section headings */
.section-heading {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Process improvements */
@media (max-width: 992px) {
  .process-step {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .step-title, .step-description {
    text-align: center;
  }
  
  .step-description {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Engineering process section improvements */
#process .row {
  display: flex;
  flex-wrap: wrap;
}

#process .col-lg-3 {
  display: flex;
}

#process .process-step {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

#process .process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#process .step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: #212529;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

#process .step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #212529;
}

#process .step-description {
  color: #6c757d;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}

/* Media queries */
@media (max-width: 768px) {
  .sticky-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .sticky-cta .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Image enhancements */
.img-fluid {
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.05);
}

/* Enhance the footer */
.footer {
  background-color: #212529;
  padding: 3rem 0;
}

.footer .link-dark {
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer .link-dark:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

/* Enhanced service items styling */
.service-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.8rem;
  height: 100%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Icon container */
.service-item .fa-stack {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  position: relative;
  display: block;
}

/* Yellow circle background */
.service-item .fa-stack-2x {
  color: var(--primary-color);
  font-size: 60px;
}

/* White icon inside the circle */
.service-item .fa-stack-1x {
  color: white;
  font-size: 20px; 
  transform: scale(0.4); /* Scale down the icon to 40% of its size */
}

/* Fix specificity issues by setting !important rules */
.service-item .fa-stack-1x.fa-inverse {
  font-size: 20px !important;
  transform: scale(0.4) !important;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
  width: 100%;
  opacity: 0.1;
}

.service-item h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.service-item h4::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #ffc800;
  transition: all 0.4s ease;
}

.service-item:hover h4::after {
  width: 80px;
}

.service-item .mb-3 {
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem !important;
}

.service-item .badge {
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-item:hover .badge {
  background-color: #ffce2e !important;
}

.service-item p.text-muted {
  min-height: 3rem;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.service-item .btn-outline-primary {
  border-color: #ffc800;
  color: #212529;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
  margin-top: auto;
  min-width: 120px;
}

.service-item .btn-outline-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #ffc800;
  transition: all 0.4s ease;
  z-index: -1;
}

.service-item .btn-outline-primary:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .service-item {
    margin-bottom: 2rem;
    min-height: auto;
  }
  
  .service-item .fa-stack {
    width: 90px !important;
    height: 90px !important;
    line-height: 90px !important;
  }
  
  .service-item .fa-stack-2x {
    font-size: 90px;
  }
  
  .service-item .fa-stack-1x {
    font-size: 40px;
    line-height: 90px;
  }
  
  .service-item p.text-muted {
    min-height: auto;
  }
}

/* Services section text */
#services .text-muted {
  font-size: 0.95rem;
  line-height: 1.6;
}

#services .section-heading {
  margin-bottom: 1rem;
}

#services .section-subheading {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 300;
  font-style: italic;
  color: #6c757d;
}

/* Services CTA section */
.services-cta {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.services-cta:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.services-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #ffc800;
  transition: all 0.4s ease;
}

.services-cta h3 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #212529;
}

.services-cta .lead {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

.services-cta .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.services-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-cta .btn-primary {
  background-color: #ffc800;
  border-color: #ffc800;
  color: #212529;
}

.services-cta .btn-outline-primary {
  border-color: #ffc800;
  color: #212529;
}

.services-cta .btn-outline-primary:hover {
  background-color: #ffc800;
  color: #212529;
}

@media (max-width: 768px) {
  .services-cta {
    padding: 2rem;
  }
  
  .services-cta .d-flex {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .services-cta .btn {
    width: 100%;
  }
}

/* Parallax background for services section */
.parallax-onwing {
  background-image: url('../assets/img/onwing_bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-onwing::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
}

.parallax-onwing .container {
  position: relative;
  z-index: 2;
}

/* Why Choose Us section styling */
.why-choose-item {
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
  position: relative;
  z-index: 2;
}

.why-choose-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.why-choose-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: 3;
}

.why-choose-item:hover::before {
  transform: scaleX(1);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 200, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.why-choose-item:hover .icon-circle {
  background-color: rgba(255, 200, 0, 0.2);
  transform: scale(1.1);
}

.icon-circle i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.why-choose-item:hover .icon-circle i {
  transform: scale(1.2);
}

.why-choose-item h4 {
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.why-choose-item h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .why-choose-item {
    margin-bottom: 2rem;
  }
  
  .icon-circle {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }
}

/* Animations for Why Choose Us section */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-choose-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.why-choose-item:nth-child(1) {
  animation-delay: 0.1s;
}

.service-item:has(.fa-dollar-sign) {
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Service pages masthead - shorter version */
.service-page-masthead {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
}

/* Exception for the sell page which has its own styling */
.sell-masthead.service-page-masthead {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 85vh !important; /* Preserve the sell masthead height */
}

/* Service Item Styles - Complete consistency */
.service-item {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    z-index: 1;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: serviceItemFadeIn 0.8s ease forwards;
    opacity: 0;
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #ffc800;
    transition: all 0.4s ease;
    z-index: -1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* Ensure circle icons are consistent size */
.service-item .fa-stack {
    display: inline-block;
    position: relative;
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 1.5rem;
}

.service-item .fa-stack-2x {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 70px;
    text-align: center;
    line-height: 70px;
}

.service-item .fa-stack-1x {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    font-size: 8px;
    text-align: center;
    line-height: 70px;
}

.service-item:hover .fa-stack {
    transform: scale(1.1);
}

.service-item h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.service-item h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ffc800;
    transition: all 0.4s ease;
}

.service-item:hover h4::after {
    width: 80px;
}

/* Standardize badge container */
.service-item .mb-3 {
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem !important;
}

.service-item .badge {
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-item:hover .badge {
    background-color: #ffce2e !important;
}

.service-item p.text-muted {
    margin: 0.5rem 0;
    min-height: 3.5rem;
    display: block;
}

.service-item .btn-outline-primary {
    border-color: #ffc800;
    color: #212529;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    margin-top: auto;
    min-width: 120px;
}

.service-item .btn-outline-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffc800;
    transition: all 0.4s ease;
    z-index: -1;
}

.service-item .btn-outline-primary:hover::after {
    width: 100%;
}

/* Reset any specific styling for all service cards including Sell to Us */
.row > div:nth-child(7) .service-item,
.row > div:nth-child(8) .service-item,
.row > div:nth-child(9) .service-item,
.service-item:has(.fa-dollar-sign) {
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Service item animations */
@keyframes serviceItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:nth-child(5) {
    animation-delay: 0.5s;
}

.service-item:nth-child(6) {
    animation-delay: 0.6s;
}

.service-item:nth-child(7) {
    animation-delay: 0.7s;
}

.service-item:nth-child(8) {
    animation-delay: 0.8s;
}

.service-item:nth-child(9) {
    animation-delay: 0.9s;
}

@media (max-width: 768px) {
    .service-item {
        margin-bottom: 2rem;
        min-height: auto;
    }
    
    .service-item .fa-stack {
        width: 90px !important;
        height: 90px !important;
        line-height: 90px !important;
    }
    
    .service-item .fa-stack-2x {
        font-size: 90px;
    }
    
    .service-item .fa-stack-1x {
        font-size: 40px;
        line-height: 90px;
    }
    
    .service-item p.text-muted {
        min-height: auto;
    }
}

/* Resource links styling */
.resource-link {
    color: #ffc800;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
}

.resource-link:hover {
    color: #e6b400;
    transform: translateX(5px);
}

.resource-link i {
    margin-right: 0.5rem;
}

/* Affiliate logo styling */
.logo-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.affiliate-logo {
  max-width: 180px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Specific styling for Turbsol Holdings logo */
img[alt="Turbsol Holdings Logo"] {
  max-width: 220px;
  max-height: 120px;
}

/* Comprehensive Solutions Section - Repair Management Page */
.comprehensive-solutions .card {
    height: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: none;
}

.comprehensive-solutions .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.comprehensive-solutions .card-header {
    position: relative;
    padding: 1.5rem;
    border-bottom: none;
    background-color: white;
}

.comprehensive-solutions .icon-circle {
    width: 70px;
    height: 70px;
    background-color: #ffc800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.comprehensive-solutions .icon-circle i {
    font-size: 32px;
    color: #212529;
}

.comprehensive-solutions h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.comprehensive-solutions .card-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.comprehensive-solutions ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.comprehensive-solutions ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.comprehensive-solutions ul li strong {
    font-weight: 600;
    margin-right: 0.25rem;
}

.comprehensive-solutions .testimonial {
    font-style: italic;
    background-color: #f8f9fa;
    border-left: 4px solid #ffc800;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
}

.comprehensive-solutions .results-banner {
    background-color: #ffc800;
    color: #212529;
    padding: 2.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comprehensive-solutions .results-banner h3 {
    color: #212529;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.comprehensive-solutions .results-banner ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.comprehensive-solutions .results-banner ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comprehensive-solutions .results-banner ul li strong {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 800;
}

.comprehensive-solutions .results-banner .btn-light {
    background-color: #212529;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.comprehensive-solutions .results-banner .btn-light:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .comprehensive-solutions .row > div {
        margin-bottom: 1.5rem;
    }
    
    .comprehensive-solutions .results-banner ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .comprehensive-solutions .card-header {
        padding: 1.25rem;
    }
    
    .comprehensive-solutions .card-body {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .comprehensive-solutions .icon-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    .comprehensive-solutions .icon-circle i {
        font-size: 28px;
    }
}

/* Results table responsive fixes */
#resultsTable th {
    white-space: nowrap;
    min-width: 80px;
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
}

#resultsTable th.sorting {
    padding-right: 20px; /* Space for sort icons */
}

@media (max-width: 992px) {
    #resultsTable th {
        font-size: 0.85rem;
        padding: 0.5rem 0.4rem;
    }
}

@media (max-width: 768px) {
    #resultsTable th {
        font-size: 0.8rem;
        padding: 0.5rem 0.3rem;
    }
    
    #resultsTable td {
        font-size: 0.8rem;
        padding: 0.5rem 0.3rem;
    }
}

/* Digital advantage components */
.digital-advantage-banner {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #ffc800;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.digital-advantage-banner .icon-container {
    margin-right: 1.5rem;
    font-size: 2.5rem;
    color: #ffc800;
}

.feature-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    color: #ffc800;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.digital-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,200,0,0.9);
    color: #212529;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #495057;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #ffc800;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Fallback if Font Awesome fails to load */
@supports not (content: "✓") {
    .check-list li::before {
        content: "";
    }
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-7px);
}

.advantage-icon {
    margin-bottom: 1.5rem;
}

.digital-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

/* Masthead/Hero Section Enhancements */
header.masthead {
  background-image: url('../assets/img/products/CFM56-7B.jpg');
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
}

header.masthead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

/* Yellow vertical bar on left side of the masthead */
header.masthead::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 2;
}

header.masthead .container {
  position: relative;
  z-index: 3;
}

.masthead-content {
  text-align: center;
  padding: 2rem;
}

.masthead-heading {
  font-size: 3.8rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
}

.masthead-subheading-alt {
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  margin-bottom: 2.5rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4) !important;
  display: block !important;
}

.hero-cta {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.hero-cta.btn-primary {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--dark-color);
}

.hero-cta.btn-outline-light {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hero-cta.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Media queries for responsive hero section */
@media (max-width: 992px) {
  header.masthead {
    height: auto;
    min-height: 500px;
    padding: 8rem 0 5rem;
  }
  
  .masthead-heading {
    font-size: 3rem !important;
  }
  
  .masthead-subheading-alt {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  header.masthead {
    padding: 7rem 0 4rem;
    min-height: 450px;
  }
  
  header.masthead::after {
    width: 10px;
  }
  
  .masthead-heading {
    font-size: 2.5rem !important;
  }
  
  .masthead-subheading-alt {
    font-size: 1.2rem !important;
  }
  
  .hero-cta {
    display: block;
    width: 80%;
    margin: 0.75rem auto;
  }
}

@media (max-width: 576px) {
  header.masthead {
    padding: 6rem 0 3rem;
  }
  
  header.masthead::after {
    width: 8px;
  }
  
  .masthead-heading {
    font-size: 2rem !important;
  }
  
  .masthead-subheading-alt {
    font-size: 1.1rem !important;
  }
}

/* Button styling enhancement - remove underscores */
.btn,
.btn-primary, 
.btn-secondary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-light,
.btn-outline-dark,
.hero-cta {
  text-decoration: none !important;
}

a.btn:hover,
button.btn:hover,
a.hero-cta:hover {
  text-decoration: none !important;
}

/* This ensures any anchor tags used as buttons also don't have underlines */
a.btn,
a.hero-cta {
  text-decoration: none !important;
}

/* Process Cards */
.process-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.process-number {
    width: 50px;
    height: 50px;
    background: #ffc800;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #212529;
}

.process-card p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Results Section Styling */
.turbineworks-advantage {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.advantage-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #212529, #495057);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.advantage-subheading {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.advantage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffc800;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1rem;
    font-weight: 500;
}

.stat-icon {
    font-size: 2rem;
    color: #ffc800;
    opacity: 0.8;
    margin-top: 1rem;
}

.stat-icon i {
    filter: drop-shadow(0 2px 4px rgba(255, 200, 0, 0.2));
}

@media (max-width: 768px) {
    .turbineworks-advantage {
        padding: 3rem 1.5rem;
    }

    .advantage-heading {
        font-size: 2rem;
    }

    .advantage-subheading {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

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

    .stat-item {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* Values Section Styling */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.value-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #fff4cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-icon i {
    font-size: 1.75rem;
    color: #ffc800;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ffc800;
    display: inline-block;
}

.value-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .values-container {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .value-card {
        min-height: 240px;
        padding: 1.5rem;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }

    .value-icon i {
        font-size: 1.5rem;
    }

    .value-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }
}