/* Premium Professional Theme */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    /* Deep Navy Spotlight Background */
    background: radial-gradient(circle at center, #06142e 0%, #010816 100%);
    min-height: 100vh;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Header Styling */
.section-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    
}
.section-header .head{
    margin-top: 1rem;
    color: #fff;
}

.underline {
    width: 45px;
    height: 3px;
    background-color: #ff3131;
    margin: 0 auto 20px;
}

.sub-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #8892b0;
    margin-bottom: 60px;
}

.second-header { margin-top: 100px; }

/* Layout Logic */
.customer-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.customer-row .card {
    flex: 1;
    min-width: 190px;
}

.scrap-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* BIGGER PREMIUM CARDS */
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 60px 20px; /* High padding for big size */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* ICON BOX - Adjusted for perfect image fit */
.icon-box {
    width: 80px; /* Larger box */
    height: 80px;
    background-color: #ff3131;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    overflow: hidden; /* Ensures nothing spills out */
    padding: 10px; /* Padding inside the red box so logo doesn't touch edges */
    box-shadow: 0 8px 20px rgba(255, 49, 49, 0.2);
}

.icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Keeps logo proportions perfect */
    /* REMOVED FILTER - Logos will show their original colors now */
}

.card span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* HOVER EFFECT */
.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ff3131;
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.client-stats p{
    color: #000;
    font-weight: 500;
}

/* --- MOBILE SPECIFIC: HIDE RED SHAPE & TRUCK IMAGES --- */
/* --- TABLET & MOBILE CARD GRID FIX --- */

@media (max-width: 1100px) {
    /* Change the flex row to a grid for customers */
    .customer-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row on tablets */
        flex-wrap: wrap;
        padding: 0 20px;
    }

    /* Adjust the scrap grid to 3 columns as well */
    .scrap-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    /* 2 cards per row on standard mobile phones */
    .customer-row, 
    .scrap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Reduce card padding so they don't get too tall */
    .card {
        padding: 30px 15px;
        min-width: unset; /* Remove the 190px restriction */
    }

    /* Scale down headers */
    .section-header h1 {
        font-size: 1.8rem;
    }

     .about-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    margin: 0 !important;
      width: 100%;
  overflow: hidden; 
  }

  .about-section .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .content-side {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

    .sub-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    /* 1 card per row on very small phones */
    .customer-row, 
    .scrap-grid {
        grid-template-columns: 1fr;
        padding: 0 40px; /* Add side space */
    }

    .card {
        padding: 40px 20px;
    }
}

/* KEEP YOUR EXISTING MOBILE CODE FOR OTHER SECTIONS BELOW */
@media (max-width: 1100px) {
    .image-side {
        display: none !important;
    }
    .content-side {
        width: 100% !important;
        text-align: center;
    }
    .main-content-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cta-group {
        justify-content: center;
    }
      .about-section .container {
    display: flex;
    flex-direction: column; /* Stacks the content */
    align-items: center;
    padding: 20px; 
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't add to width */
  }

 .image-side {
    display: none !important;
    height: 0; /* Ensures no height is reserved */
    margin: 0;
    padding: 0;
  }

  .content-side {
    width: 100%;
  }
}



