/* Hero Section */


.hero {

    text-align: center;



padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    width: 50%;
}

.hero-text h1 {
    font-size: 36px;
}

.hero-text .highlight {
    color: var(--PrimaryColor--);
    font-weight: bold;
}

.hero-image img {
    width: 500px;
}

.why-customize {
    display: flex;  /* Arrange items in a row */
    align-items: center; /* Align image and text vertically */
    gap: 50px; /* Space between image and text */
    background-color: var(--PrimaryColor--);
    justify-content: center;
    height: 500px;
    position: relative;
    overflow: visible;
}

/* Background styling */
.why-customize::before {
    content: "";
    position: absolute;
    top:-499px; /* Adjust the angle */
    left: 0;
    width: 100%;
    height: 100%;
    background:  var(--PrimaryColor--);
    clip-path: polygon(0 100%, 100% 40%, 100% 20%, 100% 100%);
    z-index: -1;
}

.background {
    position: absolute;
    bottom: -30px;
    width: 100vw;  /* Full viewport width */
    left: 0;
    right: 0; /* Ensure it stretches completely */
}


.why-customize-img img {
  width: 500px;
}

.why-customize-text {
    display: flex;  
    flex-direction: column; /* Stack h2 and ul vertically */
    gap: 10px; /* Space between heading and list */
    width: 40%;
}

.why-customize h2{
    font-family: var(--DisplayText--);
    font-size: 2.5rem;
}

.why-customize ul{
list-style: none;
padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}
.why-customize-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.list-item {
    display: flex;
    align-items: center;
    width: 45%; /* Two per row */
    gap: 10px;
}

.list-item img {
    width: 100px; /* Adjust icon size */
    height: auto;
}

.customize-step{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.customize-step-header{
    align-self: flex-start;
    padding: 50px 200px;
}

.big-number {
    font-size: 2em;  /* Make the number bigger */
    font-weight: bold;
  
    color: var(--PrimaryColor--); /* Change color if needed */
}

.highlight {
    font-weight: bold;
    color: var(--PrimaryColor--); /* Use a highlight color */

}
.hero-text h1 {
    text-align: left;
    font-family: var(--DisplayText--);
    
}
.hero-text p {
    text-align: left;
    font-family: var(--NormalText--);
    font-size: 1rem;
    line-height: 1.6; /* Adjust line spacing (1.5-1.8 is ideal for readability) */
    font-weight: 400; /* Normal weight (400) | Bold (700) | Adjust as needed */
}
.highlight-1{
    vertical-align: super; /* Moves text slightly up */
    position: relative;
    top: -5px; /* Adjust this value as needed */
}

.highlight-3{
    vertical-align: super; /* Moves text slightly up */
    position: relative;
    top: -5px; /* Adjust this value as needed */
   color: var(--PrimaryColor--);
}


/* Default Layout */
.four-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 20px;
    padding: 50px;
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Spacing between text and image */
    margin-bottom: 40px;
}

.step h3{
    font-family: var(--DisplayText--);
}
.step p{
    font-family: var(--NormalText--);
}

.lightbulb img{
   width: 150px;
   height: 150px;
   margin: 10px;
}

.proposal img{
    width: 150px;
    height: 150px;
    margin: 10px 20px;
}

.approval img{
    width: 150px;
    height: 150px;
    margin: 10px;
}

.delivery img{
    width: 200px;
    height: 200px;
    margin: 10px;
}


.highlight-2{
    font-weight: bold;
    color: var(--PrimaryColor--); /* Use a highlight color */

}
.step-text{
    padding-top: 10px;
}

.step-text-3{
    padding-top: 20px;
    padding-left: 20px;
}


.step-text-4{
    padding-top: 20px;
}

.product-customize-container{
    margin: 50px;
}

.product-customize {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    scroll-snap-type: x mandatory;
    width: calc(4 * 390px + 3 * 10px); /* Width for 4 cards + 3 gaps */
    max-width: 100%; /* Ensure it doesn't overflow parent */
    padding-bottom: 15px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.product-customize-card {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
    border-radius: 20px;
}

/* Optional: Style scrollbar */
.product-customize::-webkit-scrollbar {
    height: 6px;
}
.product-customize::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
 .product-customize-card img{
    width: 300px;
    border-radius: 20px;
    border: 1px solid black; /* Optional: Add a border */

 }
@media (max-width: 1024px) {

 
    
    .why-customize {
        flex-direction: column;
        height: auto;
        padding: 30px 0px;
        text-align: center;
        gap: 20px;
        width: auto;
    }

    .why-customize-text {
        width: 90%; /* Reduce width */
     
    }

 

    .list-item {
        width: 100%; /* One per row on small screens */
        gap: 5px;
        margin: 20px;
    
        
      
    }

    .list-item img {
        width: 80px; /* Reduce icon size */
    }
    .why-customize-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns by default */
        gap: 20px;
  
        align-self: center;

      
 
    
      }

      
   


    .why-customize::before{
        display: none;
    }

    .hero-text p br{
        display: none;
    }

 
    .product-customize-container {
        margin: 30px 20px;
        width: 80%;
    }
    
    .product-customize {
        width: calc(4 * 250px + 4 * 10px); /* Mobile: 2 visible cards */
        gap: 8px;
       
    }
    
    .product-customize-card {
        width: 250px;
    }
    
    .product-customize-card img {
        max-width:200px;
    }
    .product-customize-container h2{
        text-align: center;
    }
   
}

@media (max-width: 1600px) {
    .product-customize-container{
        width: 80%;
    }
    
}
/* Ensure alternating layout for large screens */
@media (min-width: 769px) {
    .step:nth-child(even) {
        flex-direction: row-reverse;
    }
   
}
/* Tablet (768px - 1024px) */

/* Responsive: Stack image on top for small screens */
@media (max-width: 768px) {
    .step {
        flex-direction: column !important;
        text-align: center;
    }
 

      h1 br{
        display: none;
      }
    .step img {
        order: -1; /* Moves all images above the text */
        margin-bottom: 10px;
    }
     /* Center text and reduce padding */
     .hero {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .hero-text {
        width: 90%;  /* Full width with padding */
    }

    .hero-text h1 {
        font-size: 28px; /* Smaller heading */
    }

    .hero-image img {
        width: 100%;  /* Make image responsive */
        max-width: 350px; /* Limit max size */
    }

    .why-customize-img img{
        width: 400px;
    }

    .list-item{
        margin: 0%;
    }

   
   
   

    /* Stack step headers and steps */
    .customize-step {
        text-align: center;
        padding: 20px;
    }

    .customize-step-header {
        padding: 20px;
        width: 90%;
    }

    /* Adjust large numbers */
    .big-number {
        font-size: 1.8em;
    }

    /* Background fix */
    .background {
        bottom: -10px;
    }

    /* Fix highlight positions */
    .highlight {
      position: static;
      vertical-align: baseline;
     
    }
    .hero-text h1 br{
        display:block;
     }
     .hero-text h1 {
        text-align: center ;
     }
     .hero-text p{
        text-align: center;
     }

     .product-customize-container {
        margin: 30px 20px;
        width: 100%;
    }
    
    .product-customize {
        width: calc(3 * 250px + 4 * 10px); /* Mobile: 2 visible cards */
        gap: 8px;
       
    }
    
    .product-customize-card {
        width: 250px;
    }
    
    .product-customize-card img {
        max-width:200px;
    }
  

   
}


@media (max-width: 480px) {
     /* Stack image above text */
  

     .why-customize-list{
        flex-direction: column;
        grid-template-columns: repeat(1, 1fr);
     }
  

    .why-customize-text {
        width: 90%; /* Reduce width */
    }

    .why-customize-img img {
      width: 400px;
    }

    .list-item {
        width: 100%; /* One per row on small screens */
        gap: 5px;
    }

    .list-item img {
        width: 60px; /* Reduce icon size */
    }
  


    .product-customize-container {
        margin: 30px 20px;
        width: 100%;
    }
    
    .product-customize {
        width: calc(3 * 160px + 1 * 10px); /* Mobile: 2 visible cards */
        gap: 8px;
    }
    
    .product-customize-card {
        width: 160px;
    }
    
    .product-customize-card img {
        max-width: 150px;
    }
  
}