.project-hero{
  height:320px;
  background-size:cover;
  background-position:center;
  position:relative;
}
.project-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Outfit',sans-serif;
  font-weight:300;
  font-size:64px;
  color:#fff;
}


.layoutImg {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.projectsBanner{
    height:260px;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    position:relative;
}

.bannerOverlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:flex;
    align-items:center;
}

.projectsBanner h2{
    color:#fff;
    font-size:36px;
    font-weight:300;
}
.projectsBanner{
    height:420px;         
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    position:relative;
}
.projectsBanner h1,
.projectsBanner p{
    color:#fff;
}

.projectsBanner p{
  font-family: Outfit;
  font-weight: 500;
  font-style: Medium;
  font-size: 54px;
  
  line-height: 100%;
  letter-spacing: 0%;


}


@media(max-width:768px){
    .projectsBanner{
        height:260px;
    }
}

.keyFeaturesSection {
  max-width: 1100px;
  margin: 80px auto;
  text-align: center;
}

.featuresTabBar {
  display: flex;
  background: #e7e7e7;
  border-radius: 6px;
  overflow: hidden;
  margin: 30px auto;
}

.featureTab {
  flex: 1;
  padding: 18px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #d64b2a;;
  cursor: pointer;
  transition: 0.3s;
}

.featureTab.active {
  background: #d64b2a;
  color: #fff;
}

.featureContents {
  margin-top: 20px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.featureContent {
  display: none;
}

.featureContent.show {
  display: block;
}

.featuresTabBar{
    display:flex;
    background:#e5e5e5;
}
.featureTab{
    flex:1;
    padding:14px;
    
    text-align:center;
    cursor:pointer;
    font-weight:600;
    color:#2f2f2f;
}
.featureTab.active{
    background:#d64b2a;
    color:white;
}
.featureContent{
    display:none;
    padding:18px;
    line-height:1.7;
}
.featureContent.show{
    display:block;
}

.keyFeaturesSection{
  max-width:1100px;
  margin:80px auto;
  text-align:center;
}

.featuresTabBar{
  display:flex;
  background:#e5e5e5;
  border-radius:6px;
  overflow:hidden;
  margin:30px auto;
}

.featureTab.active{
  background:#d64b2a;
  color:#fff;
  position:relative;
}

.featureTab.active::after{
  content:"";
  position:absolute;
  bottom:-10px;
  left:50%;
  transform:translateX(-50%);
  border-width:10px 10px 0;
  border-style:solid;
  border-color: #D64B2A transparent transparent;
}

.featureContent{
  display:none; 
  font-size:15px;
  color:#666;
  line-height:1.7;
}

.featureContent.show{
  display:block;
}


.featureTab.active{
  background:#d64b2a;
  color:#fff;
  position:relative;
}

.featureTab.active::after{
  content:"";
  position:absolute;
  bottom:-10px;
  left:50%;
  transform:translateX(-50%);
  border-width:10px 10px 0;
  border-style:solid;
  border-color:#d64b2a transparent transparent;
}

.featuresTabBar{
  display:flex;
  background:#e5e5e5;
  border-radius:6px;
  overflow:visible;  
  margin:30px auto;
  position:relative;
}

/* completed projects */
/* Container for all cards */
.legacyGrid {
    display: flex;            /* Force children (cards) to sit side-by-side */
    flex-direction: row;      /* Horizontal layout */
    justify-content: center;  /* Centers the cards in the middle of the page */
    align-items: stretch;     /* Makes all cards the same height */
    gap: 20px;                /* Space between cards */
    flex-wrap: nowrap;        /* Prevents cards from jumping to next line */
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Card Styling */
.legacyCard {
    display: flex;            /* Puts Icon and Text-Group side-by-side */
    flex-direction: row;      /* horizontal */
    align-items: center;      /* Vertically centers icon with text */
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 15px 25px;
    flex: 1;                  /* Makes all cards equal width dynamically */
    min-width: 200px;         /* Prevents cards from getting too small */
    gap: 15px;
}

/* Inner Text Wrapper (The secret to vertical stack inside horizontal card) */
.legacyText {
    display: flex;
    flex-direction: column;   /* Stacks the 50+ above the Projects Completed */
    text-align: left;         /* Aligns text to the left within the card */
}

.legacyText h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: #222;
}

.legacyText span {
    font-size: 13px;
    color: #666;
    white-space: nowrap;     
}

/* Icon Styling */
.legacyCard img {
    width: 44px;
    height: 44px;
    background: #E11F26;     
    padding: 10px;
    border-radius: 10px;
    flex-shrink: 0;        
}

.completedFeatures{
    margin-top:12px;
}

.completedFeatureItem{
    border-left:3px solid #3c2b8f;
    padding-left:10px;
    margin-bottom:6px;
}

.completedFeatureItem strong{
    font-size:14px;
    color:#2b1f6b;
}

.completedFeatureItem p{
    font-size:13px;
    color:#666;
    margin:0;
}
