.background-container {
    position: relative; 
    max-width: 100%;
    height: 80vh; 
    background: url('/images/Img-holder-contact.png') no-repeat center center; 
    background-size: cover; 
    display: flex;
    justify-content: center; 
    object-fit: fill; align-items: center;
}


.contents{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    transform: translate(-50%,  -50%);
    top: 60%;
    left: 50%;
}

.contents h1 {
    margin-bottom: 10px;
width: 960px;
font-family: 'Teko';
font-style: normal;
font-weight: 700;
font-size: 96px;
line-height: 100px;
text-align: center;
text-transform: uppercase;
color: #FFFBEA;
}

.contents p {
font-family: 'Poppins';
font-style: normal;
font-weight: 500;
font-size: 24px;
line-height: 32px;
text-align: center;
letter-spacing: 0.005em;
color: #FFFFFF;

}
.all-features{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 80px;
    gap: 40px;
    top: 90%;
}

.feature{
    display: flex;
   
    
    text-align: center;
    margin-top: 380px;

    gap: 10px;

    /* Group 255 */
}

.feature img {
 


width: 64px;
height: 64px;




}

.feature h3 {
/* 2000+ Home */



font-family: 'DM Sans';
font-style: normal;
font-weight: 700;
font-size: 32px;
line-height: 32px;
/* or 100% */
letter-spacing: 0.005em;

color: #FFFFFF;
text-align: left;


}

.feature .feature-number {
    display: block; /* Ensure "1300+" is on its own line */
    font-size: 24px; /* Adjust size as needed */
    font-weight: bold;
    text-align: left;
}

.feature .feature-description {
    display: block; /* Ensure description is on a new line */
    font-size: 16px; /* Adjust size as needed */
    font-family: 'DM Sans';
}




/* Responsive Styles for Small Devices */
@media (max-width: 768px) {
    .background-container {
        position: relative; 
        max-width: 100%;
        height: 100vh; 
        background: url('/images/Img-holder-contact.png') no-repeat center center; 
        background-size: cover; 
        display: flex;
        justify-content: center; 
        object-fit: fill; align-items: center;
    }
    

    .contents {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translate(-50%, -50%);
        top: 70%;
        left: 50%;
    }
    
    .contents h1 {
        margin-bottom: 10px;
        width: 320px;
        font-family: 'Teko';
        font-style: normal;
        font-weight: 700;
        font-size: 66px;
        line-height: 66px;
        text-align: center;
        text-transform: uppercase;
        color: #FFFBEA;
    }
    
    .contents p {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 32px;
        text-align: center;
        letter-spacing: 0.005em;
        color: #FFFFFF;
    }
   
    .all-features {
        margin-top: 80%;
        align-items: center;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: flex-start;
    }
    .feature {
        margin-left: 0;
        margin-top: 20px; /* Adjust spacing */
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
    }

    .feature img{
        top: 0; /* Adjust top positioning */
       /* Remove absolute positioning */
        margin-bottom: 10px; /* Add spacing below image */
    }

    .feature h3 {
        top: 0; /* Adjust top positioning */
        position: static; /* Remove absolute positioning */
        text-align: center; /* Center align text */
    }

    .feature .feature-number {
        text-align: center; /* Center align text */
    }

    .feature .feature-description{
        text-align: center; /* Center align text */
    }
}
.our-services-section{
    padding-top: 120px;
}
.services-containers{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.services-containers h2{
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-size: 60px;
    color: #008081;
}
.our-heading {
/* Our Services */



font-family: 'Teko';
font-style: normal;
font-weight: 500;
font-size: 72px;
line-height: 22px;
/* identical to box height, or 31% */
text-transform: capitalize;

color: #008081;


}

.services-container1 {
    display: flex;
  
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    padding: 0px 160px;
}
.services-container1{
    display: flex;
}
.service1{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #008081;
    width: 100%;
}
.service1 h2{
    font-size: 20px;
    color: #FFFFFF;
    padding: 15px 0px;
}

.service1 img{
    width: 100%;
}

.services-container2{
    display: flex;
    
}
.services-container1 a {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Ensures the text color stays the same as the surrounding content */
}

.services-container1 a:hover {
    text-decoration: none; /* Ensures no underline on hover */
}

.sc{
    position: relative;
}

.overlay-text2{
position: absolute;
    top: 85%;
    left: 25%;
    transform: translate(-50%, -50%);
    font-family: 'Varta', sans-serif;

    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Optional: adds a shadow to the text */
    text-align: left;
    white-space: nowrap; 

font-style: normal;
font-weight: 600;
font-size: 25px;
letter-spacing: -0.02em;
color: #F4F4F4;
}
.land-home{
    font-family: 'Poppins';
    font-size: 1.2vw;
    line-height: 1.5;
    padding: 0px 80px;
}

/* For tablets (screen widths up to 992px) */
@media (max-width: 992px) {
    .services-container1{
        display: flex;
        flex-direction: column;
    }
    }
    
    /* For smaller tablets and large phones (screen widths up to 768px) */
    @media (max-width: 768px) {
        .our-services-section{
            padding-top: 200px;
        }
        .services-container1{
            display: flex;
            flex-direction: column;
           padding: 0px;
        }
        .overlay-text2 {
            font-size: 18px; /* Adjusts font size for smaller screens */
            top: 70%; /* Adjusts vertical positioning */
            left: 50%; /* Centers the text horizontally */
            transform: translate(-50%, -50%); /* Ensures proper centering */
            text-align: center; /* Centers the text */
            white-space: normal; /* Allows text to wrap on smaller screens */
        }
        
    }
    
    /* For large phones (screen widths up to 576px) */
    @media (max-width: 576px) {
        .services-container1{
            display: flex;
            flex-direction: column;
        }
    }
    
    /* For small phones (screen widths up to 480px) */
    @media (max-width: 480px) {
        .services-container1{
            display: flex;
            flex-direction: column;
        }
    }
    

.simages {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.simage {
    position: relative;
    width: 375px; /* Adjust this size as per your requirement */
    height: 260px; /* Adjust this size as per your requirement */
    overflow: hidden;
}

.simage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {

    width: 100%;
    background-color: #008081; /* Same color as the service title */
    color: white;
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    text-align: center;
    padding: 10px 0;
    margin-top: 110px;
}
.service-section3 h3{
 /* Why Joshpunar? */





margin-top: 30px;
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
font-size: 44px;
line-height: 63px;
/* identical to box height */

color: #008081;


}
.service-section3{
    padding: 0px 160px;
}

.service-section3 p{

margin-top: 10px;
width: 450px;


font-family: 'Poppins';
font-style: normal;
font-weight: 300;
font-size: 18px;



color: #000000;


}
.all-cards{
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}
.all-card1{
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.all-card{
    display: flex;
    
   
    gap: 80px;
    align-items: center;
    justify-content: center;
    
    margin-top: 30px;
}
.icon-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    align-content: center;
   
    gap: 15px;
}
.icon-circle img{
    width: 60px;
    height: 60px;
 

}

.icon-card h3{
    /* Double Quality Material */



font-family: 'Poppins';
font-style: normal;
font-size: 18px;

line-height: 28px;
/* identical to box height, or 117% */
letter-spacing: -0.02em;

color: #000000;
margin: 0px;
align-items: center;
text-align: center;
}
.icon-circle {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.icon-card p{
    margin: 0;
    /* We team up with Construction Quality Assurance Inspectors to check if our work meets high standards. */



font-family: 'Poppins';
font-style: normal;
font-weight: 300;
font-size: 14px;
line-height: 24px;
/* or 133% */
text-align: center;
letter-spacing: -0.02em;

color: #000000;
width: 100%;


}
/* Responsive Styles */
@media (max-width: 768px) {
    .service-section3 {
   padding: 0px;
   text-align: center;
    }

    .service-section3 p {
        margin-top: 10px;
       width: 370px;
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 300;
        font-size: 18px;
        color: #000000;
    }
    .all-card1 {
        padding: 0 20px; /* Reduced padding for smaller screens */
        flex-direction: column; /* Stack items vertically on smaller screens */
        gap: 20px; /* Reduced gap between items */
        margin-top: 20px; /* Reduced margin-top */

    }
    .all-card {
        padding: 0 20px; /* Reduced padding for smaller screens */
        flex-direction: column; /* Stack items vertically on smaller screens */
        gap: 20px; /* Reduced gap between items */
        margin-top: 20px; /* Reduced margin-top */
    }

    .icon-card {
        width: 100%; /* Full width for each icon-text item */
    }


    .icon-circle img{
        width: 60px;
        height: 60px;
       
        border-radius: 18px;
        
        display: flex;
        justify-content: center;
        align-items: center;
        transition: box-shadow 0.3s ease;
    }
   

    .icon-card h3 {
        font-size: 18px; /* Adjust font size */
      
    }

    .icon-card p {
        font-size: 18px; /* Adjust font size */
        line-height: 18px; /* Adjust line height */
    }
}

.service-section4 {
    display: flex;
    flex-direction: row;
   
    justify-content: center;
    padding: 5vw;
    gap: 2vw;
}

.service-section4 img {
    max-width: 600px;
    height: auto;
    flex-basis: 50%; /* Allow the image to take 50% of the container */
}

.para {
    display: flex;
    flex-direction: column;
    flex-basis: 50%; /* Allow the text section to take 50% of the container */
}

.para h3 {
    font-family: 'Teko';
    font-style: normal;
    font-weight: 500;
    font-size: 4vw; /* Use viewport width for responsiveness */
    line-height: 1.2em;
    color: #008081;
}

.para p {
    font-family: 'Poppins';
    font-size: 1.2vw; /* Adjust font size based on the viewport */
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .service-section4 {
        flex-direction: column;
        padding: 5vh;
        gap: 3vh;
    }
    
    .para h3 {
        font-size: 6vw; /* Increase font size for smaller screens */
    }
    
    .para p {
        font-size: 3vw;
    }
}

/* Media query for tablets (768px and up) */
@media (max-width: 1024px) {
    .service-section4 {
        flex-direction: column;
        padding: 40px;
    }

    .para h3 {
        font-size: 50px;
        line-height: 70px;
    }

    .para p {
        font-size: 14px;
    }
    .service-section4 img{
     width: 600px;
    }
}

/* Media query for mobile (below 768px) */
@media (max-width: 768px) {
    .service-section4 {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .para h3 {
        font-size: 40px;
        line-height: 50px;
    }

    .para p {
        font-size: 14px;
    }
    .service-section4 img{
        width: 600px;
       }
}

/* Media query for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .service-section4 {
        padding: 10px;
        gap: 5px;
    }

    .para h3 {
        font-size: 32px;
        line-height: 40px;
    }

    .para p {
        font-size: 12px;
    }
    .service-section4 img{
        width: 600px;
       }
}


/* Responsive Styles */
@media (max-width: 768px) {
    .service-section4 {
        flex-direction: column; /* Stack items vertically on smaller screens */
        padding: 20px; /* Reduced padding */
        gap: 20px;
        margin-top: 30px; /* Consistent gap between items */
    }

    .service-section4 img {
        width: 100%; /* Full width for images */
        height: auto; /* Maintain aspect ratio */
    }

    .para h3 {
        font-size: 48px; /* Adjust font size for smaller screens */
        line-height: 36px; /* Adjust line height for better readability */
        text-align: center; /* Center text for better alignment */
        margin: 0; /* Remove any default margin */
    }

    .para p {
        font-size: 18px; /* Adjust font size for smaller screens */
        line-height: 22px; /* Adjust line height for better readability */
        text-align: center; /* Center text for better alignment */
        margin-top: 10px; /* Add margin for spacing */
    }
}

.grid {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    align-content: center;
    padding:0px 120px;
    margin-top: 30px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    

}
.grid-item1 {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    position: absolute;
    bottom: 10px;
    
    color: white;
   
    padding: 10px;
    border-radius: 5px;
   
    font-weight: bold;

    /* Construction Execution */



font-family: 'Teko';
font-style: normal;
font-weight: 600;
font-size: 24px;
line-height: 22px;
/* identical to box height, or 50% */
letter-spacing: -0.02em;

color: #F4F4F4;
text-align: center;


}
.all-grid h3{
    /* Building Home Plan Execution */


font-family: 'Teko';
font-style: normal;
font-weight: 500;
font-size: 72px;
line-height: 100px;
/* identical to box height, or 139% */

color: #008081;
text-align: center;
align-items: center;

}

.all-grid p{
    /* The Execution Plan building a Home involves Mediculos Planning, Design Development , obtain necessary permits, coordinating Construction Process to Ensure timely and quality Completion */


    text-align: center;
    align-items: center;
font-family: 'Poppins';
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 29px;
/* or 181% */
padding: 0px 140px;
color: #000000;


}

/* Responsive Styles */
@media (max-width: 1024px) {
    .all-grid {
        padding: 0 40px; /* Adjust padding for tablets */
        margin-top: 20px; /* Adjust margin */
    }

    .all-grid h3 {
        font-size: 48px; /* Adjust font size for tablets */
        line-height: 60px; /* Adjust line height */
    }

    .all-grid p {
        font-size: 14px; /* Adjust font size for tablets */
        line-height: 22px; /* Adjust line height */
        padding: 0; /* Remove padding */
        margin-top: 10px; /* Add margin for spacing */
    }
}

@media (max-width: 768px) {
    .all-grid {
        padding: 0 20px; /* Reduced padding for smaller screens */
        margin-top: 10px; /* Adjusted margin */
    }

    .all-grid h3 {
        font-size: 36px; /* Adjust font size for smaller screens */
        line-height: 48px; /* Adjust line height */
    }

    .all-grid p {
        font-size: 12px; /* Adjust font size for smaller screens */
        line-height: 20px; /* Adjust line height */
        padding: 0; /* Remove padding */
        margin-top: 5px; /* Add margin for spacing */
    }

    .grid {
        padding: 0; /* Remove extra padding */
        gap: 10px; /* Reduced gap between grid items */
    }

 
}

@media (max-width: 480px) {
    .all-grid {
        padding: 0 10px; /* Reduced padding for very small screens */
        margin-top: 5px; /* Adjusted margin */
    }

    .all-grid h3 {
        font-size: 50px; /* Further reduced font size for very small screens */
        line-height: 36px; /* Adjust line height */
    }

    .all-grid p {
        font-size: 16px; /* Further reduced font size for very small screens */
        line-height: 18px; /* Adjust line height */
        padding: 0; /* Remove padding */
        margin-top: 5px; /* Add margin for spacing */
    }

    .grid {
       display: flex;
       flex-direction: column; /* Further reduced gap between grid items */
    }


}


@media only screen and (min-width: 1440px) and (max-width: 1920px) {
    .grid-item1 {
        display: flex;
        flex-direction: column;
        gap: 36px;
    }

    .grid {
        display: flex;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 72px;
        margin-bottom: 20px;
        /* align-items: center; */
        align-content: center;
        padding: 0px 120px;
        margin-top: 30px;
    }

    .service-section4 img {
        /* max-width: 600px; */
        height: auto;
        flex-basis: 50%;
    }

    .icon-card h3 {
        font-family: 'Poppins';
        font-style: normal;
        
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -0.02em;
        color: #000000;
        margin: 0px;
        align-items: center;
        text-align: center;
    }

    .contents{
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        transform: translate(-50%,  -50%);
        top: 60%;
        left: 50%;
    }
    
    .contents h1 {
        margin-bottom: 10px;
    width: 960px;
    font-family: 'Teko';
    font-style: normal;
    font-weight: 700;
    font-size: 96px;
    line-height: 100px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFBEA;
    }
    
    .contents p {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    letter-spacing: 0.005em;
    color: #FFFFFF;
    
    }

}

@media only screen and (min-width: 1920px) {
    .background-container {
        position: relative;
        max-width: 100%;
        height:80vh;
        background: url(/images/Img-holder-contact.png);
        background-size: cover;
        display: flex;
        flex-direction: column;
    }
    .feature {
        display: flex;
        text-align: center;
        margin-top: 650px;
        gap: 10px;
    }
    .grid {
        display: flex;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 42px;
        margin-bottom: 20px;
        /* align-items: center; */
        align-content: center;
        padding: 0px 120px;
        margin-top: 30px;
    }

   
    .service1 h2 {
        font-size: 36px;
        color: #FFFFFF;
        padding: 15px 0px;
    }
    .caption {
        position: absolute;
        bottom: 10px;
        color: white;
        padding: 10px;
        border-radius: 5px;
        font-weight: bold;
        font-family: 'Teko';
        font-style: normal;
        font-weight: 600;
        font-size: 38px;
        line-height: 22px;
        letter-spacing: -0.02em;
        color: #F4F4F4;
        text-align: center;
    }
    .all-grid p {
        text-align: center;
        align-items: center;
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 600;
        font-size: 26px;
        line-height: 29px;
        padding: 0px 140px;
        color: #000000;
    }
  }

  @media  only screen and (min-width: 769px) and (max-width: 1024px) {
    .feature {
        display: flex;
        text-align: center;
        margin-top: 350px;
        gap: 10px;
    }

    .overlay-text2 {
        position: absolute;
        top: 85%;
        left: 35%;
        transform: translate(-50%, -50%);
        font-family: 'Varta', sans-serif;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
        text-align: left;
        white-space: nowrap;
        font-style: normal;
        font-weight: 600;
        font-size: 25px;
        letter-spacing: -0.02em;
        color: #F4F4F4;
    }

    .background-container {
        position: relative;
        max-width: 100%;
        height: 80vh;
        background: url(/images/Img-holder-contact.png) no-repeat center center;
        background-size: cover;
        display: flex;
        flex-direction: column;
    }
    .contents{
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        transform: translate(-50%,  -50%);
        top: 70%;
        left: 50%;
    }
    
    .contents h1 {
        margin-bottom: 10px;
    width: 760px;
    font-family: 'Teko';
    font-style: normal;
    font-weight: 700;
    font-size: 96px;
    line-height: 100px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFBEA;
    }
    
    .contents p {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    letter-spacing: 0.005em;
    color: #FFFFFF;
    
    }
  
   
  }

  @media (max-width: 320px){
    .contents {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translate(-50%, -50%);
        top: 70%;
        left: 50%;
    }
    .contents h1 {
        margin-bottom: 10px;
        width: 300px;
        font-family: 'Teko';
        font-style: normal;
        font-weight: 700;
        font-size: 26px;
        line-height: 26px;
        text-align: center;
        text-transform: uppercase;
        color: #FFFBEA;
    }
  }