@font-face {
    src: url(Fonts/Futura-Bold-font.ttf);
    font-family: Futura;
}




* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: black;
    font-family: Futura, sans-serif;
    scroll-behavior: smooth;
}

.bg-img {
    width: 100%;
    height: 991px;
    position: static;
    background-image: url(Images/pexels-asphotograpy-224924.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.tint {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(236, 100%, 7%, 0.452);
    z-index: 1;
}

.navbar {
    max-width: 80%;
    background-color: hsla(0, 0%, 0%, 0.623);
    height: 8vh;
    margin: auto;
    position: sticky;
    margin-top: 5.5rem;
    display: flex;
    align-items: center;
}

.navbar_menu {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.navbar_menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
}

.navbar_menu a:hover {
    color: #828282;
}

.navbar_menu a:active {
    color: #e6e6e6;
}

#navbar_logo img{
    margin: 0;
    margin-top: 2rem;
    margin-left: 11.7rem;
    margin-bottom: -4.5rem;
    height: auto;
    width: 30%;
}

.get_a_quote {
    border: none;
    background-color: hsl(208, 100%, 68%);
    height: 8vh;
    width: 15vh;
    cursor: pointer;
    transition: transform 0.5s;
    font-size: 1.3rem;
}

.get_a_quote:active {
    background-color: hsl(208, 98%, 60%);
}

.home-page {
    display: inline-block;
    margin-left: 10%;
    margin-top: 12%;
}

.main-title {
    font-size: 5rem;
    color: #fff;
    margin-top: .5rem;
    margin-bottom: 2rem;
}

.home-page p {
    color: rgb(223, 223, 223);
}

.home-page .sub-title {
    font-size: 2em;
    color: hsl(208, 100%, 68%); 
}

.home-page .short-info {
    font-size: 1.2em;
}


.home-page-btn {
    display: flex;
    justify-content: start;
    padding: 3rem 0;
}

.home-page button {
    width: 23vh;
    height: 6vh;
    border-radius: 0;
}

.get-started {
    background-color: hsl(208, 100%, 68%);
    border: none;
    margin-right: 2rem;
    cursor: pointer;
    transition: transform 0.5s;
    font-size: 1.5rem;
}

.get-started:hover {
    transform: translateY(-5px);
}

.get-started:active {
    background-color: hsl(208, 74%, 51%);
}

.contact-us {
    background-color: hsla(47, 90%, 55%, 0);
    border: 3px solid white;
    color: white;
    margin-left: 2rem;
    cursor: pointer;
    transition: transform 0.5s;
    font-size: 1.5rem;
}

.contact-us:hover {
    transform: translateY(-5px);
}

.contact-us:active {
    background-color: hsl(0, 0%, 76%);
}

/* box */

.sub-box {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: auto;
    margin-top: -6%;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    position: relative;
    z-index: 2;
}

.box1 {
    display: inline;
    padding-top: 1.5em;
    padding-right: 1em;
    margin-right: 0px;
    width: 40%;
    margin: 0;
    background-color: hsl(208, 100%, 68%);
}

.box2 {
    margin: 0;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 0;
    width: 60%;
    background-color: rgb(255, 255, 255);
    display: grid;
    grid-template-rows: 1fr 1px 1fr;
    grid-template-columns: 1fr 2fr 1px 1fr 2fr;
}

.box1 p {
    margin-left: 45px;
    margin-right: 45px;
}

.small-text {
    font-size: 1.5em;
    color: #383838;
}

.shrt-descp {
    font-size: 1.5em;
    color: #383838;
}

.box1 h2 {
    margin-top: 20px;
    margin-bottom: 30px;
    margin-left: 45px;
    font-size: 3em;
    /* color: white; */
}

.first, .second, .third, .fourth {
    padding-top: 3.5em;
    padding-bottom: 3.5em;
    margin: 0;
    margin-left: 40px;
    justify-self: start;
    margin-right: 40px;
}

.box2 h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.box2 p {
    color: #2e2e2e;
}

.box2 img {
    width: 50px;
    justify-self: end;
    align-self: center;
    padding: 0;
    margin: 0;
}

.horizontal-line {
    width: 1px;
    height: 100%;
    background-color: silver;
}

.vertical-line {
    width: 90%;
    margin: auto;
    height: 1px;
    background-color: silver;
    grid-column: 1 / 6;
}

/* SERVICES */

.services {
    margin: auto;
    margin-top: 10%;
    width: 90%;
}

.services p, .services h2{
    text-align: center;
}

.services p {
    color: #4d4d4d;
}

.services h2 {
    font-size: 2.5rem;
}

.gallery {
    margin-top: 7%;
    display: grid;
    grid-template-columns: repeat(3, 33.33%);
    grid-template-rows: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
}

.gallery img {
    width: 30rem;
    height: 30rem;
    margin: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    aspect-ratio: 1 / 1;
    overflow: hidden;   
}

.gallery h3 {
    font-size: 2rem;
    text-align: left;
    margin-left: 40px;

}

.gallery p {
    text-align: left;
    margin-left: 40px;
    margin-top: 15px;
}

#placeholder {
    margin: 0;
    padding: 0;
}

/* PROJECTS */

    .projects {
        width: 90%;
        margin: auto;
        margin-top: 10%;
        padding-bottom: 7rem;
    }

    .projects h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .projects p {
        text-align: center;
    }

    .projects a {
        /* text-decoration: none;
        padding: 2rem 3.4rem;
        margin: 0 auto; */
        text-decoration: none;
        padding: 2rem 3.4rem;
        margin: 0 auto;
        color: #666;
        transition: color 0.3s ease;
    }

    .projects a:hover {
        /* border-bottom: solid 1px hsl(0, 0%, 43%); */
        color: hsl(0, 0%, 36%);
    }

    .active {
        /* border-bottom: solid 1px hsl(208, 100%, 68%); */
        color: hsl(208, 100%, 68%);
        font-weight: bold;
    }

    .projects li {
        list-style-type: none;
    }

    .slider-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }

    .slider-nav {
        margin-top: 3%;
    }

    .navigation {
        /* display: flex;
        justify-content: space-around;    
        align-items: center;
        max-width: 100%;
        padding: 2rem 1rem;
        border-bottom: solid 1px hsl(0, 0%, 75%);
        margin: auto; */
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;   
    align-items: center;
    gap: 1.5rem;                
    padding: 2rem 1rem;
    border-bottom: solid 1px hsl(0, 0%, 75%);
    max-width: 100%;
    margin: auto;
    text-align: center;
    }

    .slider {
        display: flex;
        aspect-ratio: 16 / 9;
        overflow-x: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        margin-top: 3%;
    }

    .section-container {
        width: 100%;
        flex: 1 0 100%;
        scroll-snap-align: start;
        /* object-fit: cover; */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        justify-items: center;
        padding: 2rem 0;

    }

    .section-container .pics {
        /* width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 300px;
        display: inline-block;
        border-radius: 10px;
        padding: 15px 25px;
        cursor: pointer;
        margin: auto;
        transition: transform 0.5s;
        box-shadow: 0 1rem 2rem -0.75rem hsla(0, 0%, 0%, 0.25); */
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        max-width: 300px;
        border-radius: 15px;
        cursor: pointer;
        margin: auto;
        transition: all 0.5s ease;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    /* .section-container .pics h5, .section-container .pics p {
        text-align: start;
    }

    .section-container .pics p {
        color: #e0e0e0;
    }

    .section-container .pics h5 {
        font-size: 1.4rem;
        text-shadow: 0 0 5px #999;
        color: #fff;
    } */

.section-container .pics:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pics-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.3s ease;
}

.pics:hover .pics-bg {
    transform: scale(1.05);
}

.pics-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(34, 34, 34, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.pics-overlay h5 {
    font-size: 1.2rem;
    margin-bottom: -0.5rem;
    font-weight: 600;
    color: white;
}

.pics-overlay p {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin: 0;
    text-align: left;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.171);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.modal-header p {
    margin: 0.5rem 0 0 0;
    color: #666;
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-gallery img:hover {
    transform: scale(1.05);
}

    /* latest */

#gallery1 {
    background-image: url(Images/Excavation/1440x1080.png);
    background-position: center;
    background-size: cover;
}

#gallery2 {
    background-image: url(Images/Excavation/1440x1080\ \(2\).png);
    background-position: center;
    background-size: cover;
}

#gallery3 {
    background-image: url(Images/Excavation/1440x1080\ \(3\).png);
    background-position: center;
    background-size: cover;
}

#gallery4 {
    background-image: url(Images/SheetPile/custom\ sizes.png);
    background-position: center;
    background-size: cover;
}

#gallery5 {
    background-image: url(Images/BoredPile/1080x1920.png);
    background-position: center;
    background-size: cover;
}

#gallery6 {
    background-image: url(Images/BoredPile/1440x1080.png);
    background-position: center;
    background-size: cover;
}

#gallery7 {
    background-image: url(Images/BoredPile/1440x1080\ \(7\).png);
    background-position: center;
    background-size: cover;
}

#gallery8 {
    background-image: url(Images/BoredPile/810x1080\ \(1\).png);
    background-position: center;
    background-size: cover;
}

/* Sheet Pile */

#gallery9 {
    background-image: url(Images/SheetPile/custom\ sizes.png);
    background-position: center;
    background-size: cover;
}

#gallery10 {
    background-image: url();
    background-position: center;
    background-size: cover;
}

#gallery11 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery12 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery13 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery14 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery15 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery16 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

/* Excavation */

#gallery17 {
    background-image: url(Images/Excavation/1440x1080.png);
    background-position: center;
    background-size: cover;
}

#gallery18 {
    background-image: url() ;
    background-position: center;
    background-size: cover;
}

#gallery19 {
    background-image: url(Images/Excavation/1440x1080\ \(2\).png);
    background-position: center;
    background-size: cover;
}

#gallery20 {
    background-image: url(Images/Excavation/1440x1080\ \(3\).png);
    background-position: center;
    background-size: cover;
}

#gallery20 {
    background-image: url(Images/Excavation/1440x1080\ \(4\).png);
    background-position: center;
    background-size: cover;
}

#gallery21 {
    background-image: url(Images/Excavation/1440x1080\ \(6\).png);
    background-position: center;
    background-size: cover;
}

#gallery22 {
    background-image: url();
    background-position: center;
    background-size: cover;
}

#gallery23 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery24 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

/* Demolition */

#gallery25 {
    background-image: url(Images/Demolition/Primehomes4.jpg);
    background-position: center;
    background-size: cover;
}

#gallery26 {
    background-image: url(Images/Demolition/Makati2.jpg);
    background-position: center;
    background-size: cover;
}

#gallery27 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery28 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery29 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery30 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery31 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery32 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

/* Hauling */

#gallery33 {
    background-image: url(Images/Hauling/PrimehomesHauling2.jpg);
    background-position: center;
    background-size: cover;
}

#gallery34 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery35 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery36 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery37 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery38 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery39 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery40 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

/* Bored Pile */

#gallery41 {
    background-image: url(Images/BoredPile/1080x1920.png);
    background-position: center;
    background-size: cover;
}


#gallery42 {
    background-image: url(Images/BoredPile/1440x1080.png);
    background-position: center;
    background-size: cover;
}

#gallery43 {
    background-image: url(Images/BoredPile/1440x1080\ \(7\).png);
    background-position: center;
    background-size: cover;
}

#gallery44 {
    background-image: url(Images/BoredPile/810x1080.png);
    background-position: center;
    background-size: cover;
}

#gallery45 {
    background-image: url(Images/BoredPile/810x1080\ \(1\).png);
    background-position: center;
    background-size: cover;
}

#gallery46 {
    background-image: url(Images/BoredPile/810x1080\ \(2\).png);
    background-position: center;
    background-size: cover;
}

#gallery47 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery48 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

/* Pile Hacking */

#gallery49 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery50 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery51 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery52 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery53 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery54 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery55 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

#gallery56 {
    background-image: url(Images/Crane.jpg);
    background-position: center;
    background-size: cover;
}

.quote {
    width: 100%;
    padding-top: 210px;
    padding-bottom: 200px;
    background-color: hsl(0, 0%, 96%);
    position: relative;
    z-index: 1;
    margin: 0;
}


.Req-quote {
    position: absolute;
    top: -40px;
    right: 55%;
    padding: 30px 40px;
    height: 30rem;
    width: 30%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    background-color: rgb(29, 25, 25);
    text-align: left;
    color: white;
    max-width: 80%;
}

.Req-quote h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.Req-quote p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 25px;
}

.Req-quote input, .Req-quote textarea {
     width: 100%;
    padding: 8px 0;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #999;
    color: white;
    outline: none;
    font-size: 0.95rem;
}

.Req-quote input::placeholder, .Req-quote textarea::placeholder {
    color: #bbb;
}

.Req-quote button {
    background-color: #ffc107;
    color: black;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.Req-quote button:hover {
    background-color: #e0a800;
}

.sub-footer {
    width: 100%;
    height: auto;
    margin: 0;
    background-image: url(Images/Construction.jpg);
    background-position: center;
    background-size: cover;
    z-index: 1px;
    position: relative;
    
}
.footer-tint {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    justify-items: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.673);
    position: static;
    z-index: 3;
}

.footer-tint h5, .footer-tint p {
    color: #fff;
}

.footer {
    width: 100%;
    height: 3.5em;
    background-color: hsl(208, 83%, 39%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, auto));
    align-items: center;
}

.copyright {
    justify-self: start;
    margin-left: 10%;
}

.copyright p {
    color: #999;
}

.icons {
    justify-self: end;
    margin-right: 10%;
}   

.icons i{
    font-size: 1.2rem;
    color: #fff;
    padding-left: .7rem;
    padding-right: .7rem;
}

.sub-footer-content h5 {
    font-size: 1.4rem;
}

.sub-footer-content p {
    color: #bbbbbb;
}

.sub-footer-content .aboutUs-descp {
    font-size: 1.2em
}




/* viewsizes */

/* mobile view */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
  }

  .get_a_quote {
    width: 15vh;
  }   

.contact-us {
    margin-left: -2rem;
  }

  .navbar_menu {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .home-page {
    margin-left: 5%;
    margin-top: 20%;
    text-align: center;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .home-page-btn {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .sub-box {
    flex-direction: column;
    width: 90%;
    margin-top: 5%;
  }

  .box1,
  .box2 {
    width: 100%;
  }

  .box2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .first, .second, .third, .fourth {
    margin-left: 0;
    text-align: center;
    padding: 1.5em;
  }


  .horizontal-line, .vertical-line {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery img {
    width: 90%;
    margin: 10px auto;
  }

  .gallery h3,
  .gallery p {
    margin-left: 10px;
    font-size: 1rem;
    text-align: center;
  }

  .gallery p {
    margin-top: 10px;
  }

  .services h2 {
    font-size: 1.8rem;
  }

  .services p {
    font-size: 0.95rem;
  }

  .slider {
    max-height: 500px; 
    overflow-y: auto;
    margin-top: 2rem;
    padding-right: 0.5rem;
  }

  .slider::-webkit-scrollbar {
    width: 6px;
  }

  .slider::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 3px;
  }

  .Req-quote {
    width: 90%;
    height: 30rem;
    margin-right: -45%;
  }

  .quote {
    height: 43vh;
 }

 .sub-footer-content {
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
 }

#navbar_logo img{
    margin: 0;
    margin-top: 2rem;
    margin-left: 2.5rem;
    margin-bottom: -4.5rem;
    height: auto;
    width: 70%;
}

.projects h2 {
    font-size: 2rem;
}

.navigation {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
}

.projects a {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    display: block;
    text-align: center;
}

.slider-wrapper {
    max-width: 95%;
}

.section-container {
    grid-template-columns: 1fr;
    gap: 22rem;
    padding: 1.5rem 1rem;
    justify-items: center;
}

.section-container .pics {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.pics-overlay h5 {
    font-size: 1.1rem;
}

.pics-overlay p {
    font-size: 0.85rem;
}

.modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 85vh;
}

.modal-header {
    padding: 1.5rem;
}

.modal-header h3 {
    font-size: 1.4rem;
}

.modal-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.modal-gallery img {
    height: 150px;
}

}

/* tablets view */

@media (max-width: 1024px) and (min-width: 769px) {
  .main-title {
    font-size: 4rem;
  }

  .home-page {
    margin-left: 8%;
  }

  .box2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }


  .first, .second, .third, .fourth {
    margin-left: 10px;
    padding: 1em;
  }

  .box2 img {
    margin-left: 1rem;
}

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery img {
    width: 90%;
    margin: 20px;
  }

  .gallery h3,
  .gallery p {
    margin-left: 20px;
    font-size: 1.2rem;
  }

  .navigation li {
    flex-direction: row;
    gap: 1rem; /* Space between items */
    padding: 1rem 0;
  }

  .section-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
  }

  .section-container .pics {
    width: 250px;
    height: auto;
    padding: 15px;
    margin: 10px;
  }

  .section-container .pics h5 {
    font-size: 1.2rem;
  }

  .projects h2 {
    font-size: 2rem;
  }

  .projects p {
    font-size: 1rem;
  }

  .Req-quote {
    width: 70%;
    margin-right: -30%;
    }

}

@media (max-width: 1799px) and (min-width: 1025px) {
  .section-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Adjust to 3 or 4 based on your design */
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
  }

  .section-container .pics {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: auto;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery img {
    width: 95%;
    height: auto;
    object-fit: cover;
    margin: 20px auto;
  }

  .gallery h3,
  .gallery p {
    font-size: 1.3rem;
    text-align: center;
  }
}
