h1 {
    font-size: 2.5rem;
    color: #e5ab71;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #b38f6b;
}

h2 {
    font-size: 3rem;
    text-align: center;
    color: #f8f0ed;
    font-family: serif;
}

/* Services Overview Section */
.services-overview {
    background-image: url('../assets/images/extra1.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 30px; /* Add padding to create space inside the background */
    border-radius: 50px; /* Make the edges rounded */
    width: 80%;
    margin: auto;
    color: #f8f0ed;
    padding-bottom: 90px;
    margin-bottom: 200px;
    margin-top: 100px;
}
.services-tagline h2{
    text-align: center;
    width: 85%;
    padding-top: 90px;
    margin: auto;
    font-size: 2rem;
}

.services-container {
    max-width: 1920px;
    margin: 0 auto;
    text-align: center;
}
.service-overview-text h2{
    padding-bottom: 60px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 30px;
}

.services-list a {
    flex: 1 1 30%; /* Take 30% width of the container for each link */
    text-align: Center;
    font-size: 2rem;
    margin-bottom: 50px; /* Space between rows */
    margin-right: 150px; /* Add space between the categories */
    color: #e5ab71;
    text-decoration: none;
    transition: color 0.3s ease;
    max-width: 450px; /* Set maximum width for the text */
    word-wrap: break-word; /* Ensure long words break to the next line */
    white-space: normal; /* Allow text to wrap to the next line */
}

/* Remove margin-right for the last item in each row to avoid extra space */
.services-list a:nth-child(3n) {
    margin-right: 0;
}
.services-list a:hover {
    color: #f8f0ed;
}

.services-divider{
    border: none;
    border-top: 2px solid #A68463; /* Adjust this to change the thickness and color */
    width: 85%; /* The divider will span the full width of the content wrapper */
    margin: 0px auto;
    padding-top: 10px;
  }

/* Service Section Styling */
.service-section {
    padding: 50px;
    background-color:rgb(27, 27, 27);
}

.service-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px;
}

/* Alternate Flex Direction for Odd/Even Sections */
.service-section:nth-child(odd) .service-container {
    flex-direction: row-reverse;

}

.service-section:nth-child(even) .service-container {
    flex-direction: row;
    

}

/* Service Text */
.service-text {
    flex: 1;
    max-width: 80%;
    padding-right: 20px;
}

.service-text h1{
    font-size: 2.5rem;
}

.service-text ul {
    list-style-type: disc;
    margin-top: 20px;
}

.service-text li {
    margin-bottom: 15px;
    width: 90%;
    line-height: 1.8;
    text-align: justify;
    font-size: 1.1rem;
}

/* Service Image */
.service-image {
    flex: 1;
}

.service-image img {
    width: 85%;
    height: auto;
    border-radius: 50px; /* Only the image will have rounded corners */
    border:#a68463 5px solid;
}
@media (max-width: 2400px){
    /* Services Overview Section */
    .services-overview {
        background-image: url('../assets/images/extra1.jpg');
        background-size: cover;
        background-position: center;
        padding: 0px;
        background-color: rgba(0, 0, 0, 0.7); 
        padding: 30px; /* Add padding to create space inside the background */
        border-radius: 50px; /* Make the edges rounded */
        width: 85%;
        margin: auto;
        color: #f8f0ed;
        padding-bottom: 90px;
        margin-bottom: 100px;
        margin-top: 100px;
    }
    .content-wrapper .service-section{
        padding: 0px;
    }
    .services-overview.services-container {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
    }
    .services-container .services-list a {
        flex: 1 1 30%; /* Take 30% width of the container for each link */
        text-align: Left;
        font-size: 1.5rem;
        margin-bottom: 50px; /* Space between rows */
        margin-right: 10px; /* Add space between the categories */
        color: #e5ab71;
        text-decoration: none;
        letter-spacing: 1.3px;
        transition: color 0.3s ease;
        max-width: 400px; /* Set maximum width for the text */
        word-wrap: break-word; /* Ensure long words break to the next line */
        white-space: normal; /* Allow text to wrap to the next line */
    }
       
    .content-wrapper .service-section .service-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 85%;
        margin: 0 auto;
        padding:0px;
        padding-top:40px;
        padding-bottom: 40px;
    }
    
    
    /* Service Text */
    .content-wrapper .service-section .service-container .service-text {
        flex: 1;
        max-width: 100%;
        padding-right: 40px;
    }
    .content-wrapper .service-section .service-container .service-text h1{
        font-size: 2rem;
    }
    .service-text h3{
        width: 130%;
        font-size: 1.3rem;
    }
    /* Adjust the text position for even sections */
    .content-wrapper .service-section:nth-child(even) .service-text h1 {
        position: relative;
        left: 0px; /* Shift the h1 to the left */
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(even) .service-text h3 {
        position: relative;
        left: 0px; /* Shift the h3 to the left */
    }
    .content-wrapper .service-section:nth-child(odd) .service-text h1 {
        position: relative;
        left: 0px; /* Shift the h1 to the left */
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(odd) .service-text h3 {
        position: relative;
        left: 0px; /* Shift the h3 to the left */
    }
    .content-wrapper .service-section:nth-child(4) .service-text h1 {
        width: 100%;/* Shift the h1 to the left */
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(4) .service-text h3 {
        width: 130%; /* Shift the h3 to the left */
    }
    .content-wrapper .service-section:nth-child(4) .service-text ul {
        width: 100%; /* Shift the h3 to the left */
        left: -100px;
        letter-spacing: 1.1px;
    }
    .content-wrapper .service-section:nth-child(5) .service-text h1 {
        width: 100%;/* Shift the h1 to the left */
        left: -100px;
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(5) .service-text h3 {
        width: 100%; /* Shift the h3 to the left */
        left: -100px;
        letter-spacing: 1.1px;
    }
    .content-wrapper .service-section:nth-child(5) .service-text ul {
        width: 100%; /* Shift the h3 to the left */
        letter-spacing: 1.1px;
    }
    .content-wrapper .service-section:nth-child(6) .service-text h1 {
        width: 160%;/* Shift the h1 to the left */
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(6) .service-text h3 {
        width:100%; /* Shift the h3 to the left */
        left: 45px;
        letter-spacing: 1.1px;
    }
    .content-wrapper .service-section:nth-child(6) .service-text ul {
        width: 100%; /* Shift the h3 to the left */
        letter-spacing: 1.1px;

    }
    .content-wrapper .service-section:nth-child(7) .service-text h1 {
        width: 100%;/* Shift the h1 to the left */
        left: -100px;
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(7) .service-text h3 {
        width: 100%; /* Shift the h3 to the left */
        letter-spacing: 1.1px;
        left: -100px;
    }
    .content-wrapper .service-section:nth-child(7) .service-text ul {
        width: 100%; /* Shift the h3 to the left */
        letter-spacing: 1.1px;
    }
    .content-wrapper .service-section:nth-child(8) .service-text h1 {
        width: 160%;/* Shift the h1 to the left */
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(8) .service-text h3 {
        width: 160%; /* Shift the h3 to the left */
        left: 50px;
        letter-spacing: 1.1px;
    }

    .content-wrapper .service-section:nth-child(8) .service-text ul {
        width: 100%; /* Shift the h3 to the left */
        letter-spacing: 1.1px;
    }


    .content-wrapper .service-section:nth-child(9) .service-text h1 {
        width: 100%;/* Shift the h1 to the left */
        margin-left: -100;
    }

    /* Apply the same logic for h3 */
    .content-wrapper .service-section:nth-child(9) .service-text h3 {
        left: -60px;
        width: 100%; /* Shift the h3 to the left */

        letter-spacing: 1.1px;
    }

    .content-wrapper .service-section:nth-child(9) .service-text ul {
        width: 100%; /* Shift the h3 to the left */
        letter-spacing: 1.1px;
    }
    .content-wrapper .service-section .service-container:nth-child(odd) .service-image {
        max-height: 400px;
        margin-right: 50px;
        padding-bottom: 400px;
    }
    .content-wrapper .service-section .service-container:nth-child(even) .service-image {
        max-height: 400px;
        margin-left: 50px;
        padding-bottom: 400px;
    }
    .content-wrapper .service-section .service-container .service-text ul {
        list-style-type: disc;
        margin-top: 40px;
    }
    
    .content-wrapper .service-section .service-container .service-text li {
        margin-bottom: 15px;
        width: 90%;
        line-height: 1.8;
        letter-spacing: 1.1px;
        text-align: justify;
        font-size: 1rem;
    }
    
    /* Service Image */
    .content-wrapper .service-section .service-container .service-image {
        padding-top: 90px;
        padding-right: 60px;
        flex: 1;
    }
    
    .content-wrapper .service-section .service-container .service-image img {
        width: 500px;
        height: auto;
        border-radius: 50px; /* Only the image will have rounded corners */
        border:#a68463 5px solid;
    }


}

@media (max-width: 1367px) {
    .services-overview {
        background-size: cover;
        background-position: center;
        padding: 50px 0;
        background-color: rgba(0, 0, 0, 0.7); 
        padding: 10px; /* Add padding to create space inside the background */
        border-radius: 50px; /* Make the edges rounded */
        width: 90%;
        margin: auto;
        color: #f8f0ed;
        padding-bottom: 50px;
        margin-bottom: 50px;
        margin-top: 40px;
    }
    .services-tagline h2{
        padding-top: 20px;
        font-size: 1.5rem;
    }
    
    .services-container {
        max-width: 87%;
        margin: 0 auto;
        text-align: center;
    }
    .service-overview-text h2{
        padding-bottom: 20px;
        font-size: 2.5rem;
    }
    
    .services-container .services-list a {
        flex: 1 1 20%; /* Take 30% width of the container for each link */
        font-size: 1.2rem;
        margin-bottom:50px; /* Space between rows */
        margin-right:80px; /* Add space between the categories */
        color: #e5ab71;
        text-decoration: none;
        transition: color 0.3s ease;
        max-width: 350px; /* Set maximum width for the text */
        word-wrap: break-word; /* Ensure long words break to the next line */
        white-space: normal; /* Allow text to wrap to the next line */
    }
    
    /* Remove margin-right for the last item in each row to avoid extra space */
    .services-list a:nth-child(3n) {
        margin-right: 0;
    }
    .services-list a:hover {
        color: #f8f0ed;
    }
    
    .services-divider{
        border: none;
        border-top: 2px solid #A68463; /* Adjust this to change the thickness and color */
        width: 90%; /* The divider will span the full width of the content wrapper */
        margin: 0px auto;
        padding-top: 10px;
      }
    
    /* Service Section Styling */
    .content-wrapper .service-section {
        padding: 0px;
        background-color:rgb(27, 27, 27);
    }
    
    .content-wrapper .service-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 80%;
        margin: 0 auto;
        padding:20px;
        padding-top:10px;
        padding-bottom: 40px;
    }
    
    
    /* Service Text */
    .content-wrapper .service-section .service-container .service-text {
        flex: 1;
        max-width: 100%;
        padding-right: 20px;
    }
    .content-wrapper .service-section .service-container .service-text h1{
        font-size: 1.8rem;
    }
    .content-wrapper .service-section .service-container .service-text h3{
        width: 100%;
        font-size: 1rem;
    }
    
    
    .content-wrapper .service-section .service-container .service-text ul {
        list-style-type: disc;
        margin-top: 40px;

    }
    
    .content-wrapper .service-section .service-container .service-text li{
        margin-bottom: 12px;
        width: 100%;
        line-height: 1.4;
        letter-spacing: 1px;
        text-align: justify;
        font-size: 1rem;
    }
    
    /* Service Image */
    .content-wrapper .service-section .service-container .service-image {
        padding-top: 80px;
        padding-right: 0px;
        flex: 1;
    }
    
    .content-wrapper .service-section .service-container .service-image img {
        width: 400px;
        height: auto;
        border-radius: 30px; /* Only the image will have rounded corners */
        border:#a68463 3px solid;
    }

    
}
@media (max-width: 922px) {
    
}


/* Responsive Design for Mobile */
@media (max-width: 768px) {

    .content-wrapper .services-overview {
        background-size: cover;
        background-position: center;
        padding: 50px 0;
        background-color: rgba(0, 0, 0, 0.8); 
        padding: 20px; /* Add padding to create space inside the background */
        border-radius: 30px; /* Make the edges rounded */
        width: 90%;
        margin: auto;
        color: #f8f0ed;
        padding-bottom: 20px;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .content-wrapper .services-overview .services-tagline h2{
        padding-top: 5px;
        font-size: 1rem;
        letter-spacing: 2.1px;
        font-family:serif;
    }
    
    .content-wrapper .services-overview .services-container {
        max-width: 100%;
        margin: 0 auto;
    }
    .content-wrapper .service-overview-text h2{
        padding-bottom:0px;
        font-size: 2rem;
        letter-spacing: 1px;
        font-family:serif;
    }
    
    .content-wrapper .services-container .services-list a {
        flex: 1 1; /* Take 30% width of the container for each link */
        font-size: 1rem;
        text-align: left;
        margin-left: 20px;
        margin-right:0px; /* Add space between the categories */
        color: #e5ab71;
        text-decoration: none;
        transition: color 0.3s ease;
        max-width: 350px; /* Set maximum width for the text */
        word-wrap: break-word; /* Ensure long words break to the next line */
        letter-spacing: 1.4px;
        width: 95%;
        white-space: normal; /* Allow text to wrap to the next line */
        line-height: normal;}

    .services-divider{border: none;border-top: 2px solid #A68463;width: 85%;margin: 0px auto;padding-top: 10px;}
    .service-container {flex-direction: column;text-align: center;max-width: 100%;padding: 20px;}
    .service-section:nth-child(even) .service-text h1 {position: relative;left: 0px;}
    .service-section:nth-child(even) .service-text h3 {position: relative;left: 0px;}
    .service-section:nth-child(odd) .service-text h1 {position: relative;left: 0px;}
    .service-section:nth-child(odd) .service-text h3 {position: relative;left: 0px;}

    .content-wrapper .service-section:nth-child(4) .service-text h1 {left:  0px;width: 100%;letter-spacing: 1.1px;font-size: 1.7rem;}  /* Interior Design 4*/
    .content-wrapper .service-section:nth-child(4) .service-text h3 {left:  0px;width: 100%;}  /* */
    .content-wrapper .service-section:nth-child(4) .service-text ul {left:  0px;width: 100%;}/* */

    .content-wrapper .service-section:nth-child(5) .service-text h1 {left:  0px;width: 100%;letter-spacing: 1.1px;font-size: 1.7rem;}/* home-renovation 5 */
    .content-wrapper .service-section:nth-child(5) .service-text h3 {left:  0px;width: 100%;}/* */
    .content-wrapper .service-section:nth-child(5) .service-text ul {left:  0px;width: 100%;}/* */

    .content-wrapper .service-section:nth-child(6) .service-text h1 {left:  0px;width: 100%;letter-spacing: 1.1px;font-size: 1.7rem;}/*architectural-design 6 */
    .content-wrapper .service-section:nth-child(6) .service-text h3 {left:  0px;width: 100%;}/* */
    .content-wrapper .service-section:nth-child(6) .service-text ul {left:  0px;width: 100%;}/* */

    .content-wrapper .service-section:nth-child(7) .service-text h1 {left:  0px;width: 100%;letter-spacing: 1.1px;font-size: 1.7rem;}/*commercial-design 7 */
    .content-wrapper .service-section:nth-child(7) .service-text h3 {left:  0px;width: 100%;}/* */
    .content-wrapper .service-section:nth-child(7) .service-text ul {left:  0px;width: 100%;}/* */

    .content-wrapper .service-section:nth-child(8) .service-text h1 {left:  0px;width: 100%;letter-spacing: 1.1px;font-size: 1.7rem;}/* rendering-visualization 8 */
    .content-wrapper .service-section:nth-child(8) .service-text h3 {left:  0px;width: 100%;}/* */
    .content-wrapper .service-section:nth-child(8) .service-text ul {left:  0px;width: 100%;}/* */

    .content-wrapper .service-section:nth-child(9) .service-text h1 {left:  0px;width: 100%;letter-spacing: 1.1px;font-size: 1.7rem;}/*project-management 9 */
    .content-wrapper .service-section:nth-child(9) .service-text h3 {left:  0px;width: 100%;}/* */
    .content-wrapper .service-section:nth-child(9) .service-text ul {left:  0px;width: 100%;}/* */

    .content-wrapper .service-section .service-container{width: 100%;}
    .services-list {flex-direction: column; margin-top: 30px;}

    /* Hide the service image in mobile view (since we're using it as a background now) */
    .service-image {
        display: none;
    }


    
    .content-wrapper .service-section  {
        padding: 0px; /* Adjust section padding for more space */
    }
    .content-wrapper .service-section .service-container{
        max-width: 100%; /* Allow the container to span the entire width */
        padding: 0; /* Adjust padding if necessary */
    }
    .content-wrapper .service-section .service-container .service-text {
        width: 90%; /* Set the text container to full width */
        max-width: 84%; /* Ensure it doesn’t have any maximum width limits */
        padding: 0px; /* Reduce side padding to expand content */
        margin: 0 auto; /* Center the content */
    }
    .content-wrapper .service-section .service-container .service-text  h1{
        font-size: 1.6rem;
        text-align: left;
        margin-top: 20px;
        width: 100%;
        letter-spacing: 0.9px;

    }
    .content-wrapper .service-section .service-container .service-text h3{
        font-size: .9rem;
        text-align: Left;
        padding-top: 10px;
        width: 86%;
        max-width: 100%;
    }
    .content-wrapper .service-section .service-container .service-text  ul {

        padding: 30px;
        padding-top: 10px;
        margin-top: 10px;
    }

    .content-wrapper .service-section .service-container .service-text  li {
        font-size: .7rem;
        margin-bottom: 10px;
        padding: 0px;
    }

}

@media (max-width: 468){

    
}