
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #222;
}
/* .gallery{
grid-template-columns: 100px 200px 300px !important;
border: 3px solid red;
display: grid;
row-gap: 5px;

} */

.gallery-box{
text-align: center;
padding: 40px 0px;
}
.gallery {
    margin: auto;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.gallery-item {
    flex: 1 1 calc(33% - 20px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.6;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover img {
    opacity: 1;
}
.gallery-item:hover .Portfolio-img-text-box{
display: block;
}
.gallery-item img{
    position: relative;
}
.Portfolio-img-text-box {
    position: absolute;
    top: 100px;
    left: 0px;
    background-color: #ffffff96;
    text-align: center;
    display: none;
    width: 100%;
}
.Portfolio-img-text-box h1{
    color: #005078;
    font-weight: 700;
}
.gallery-item img{
    height: 250px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: flex;
    margin: 10% auto;
    padding: 20px;
    background: #fff;
    max-width: 70%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 714px;
}


.modal-left img {
    max-width: 100%;
    height: auto;
    float: left;
    border-radius: 10px;
}

.modal-right {
    margin-left: 20px;
    padding:0 2em;
    width: 40%;
}

.modal-right p {
    margin: 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: rgb(255, 0, 0);
    cursor: pointer;
}

.nav-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
}

.nav-btn:hover {
    background-color: #555;
}
  @media only screen and (max-width: 1144px) {
    .our-section {
        margin-top: 300px !important;
    }
  }
  @media only screen and (max-width: 1202px) {
    .our-section {
        margin-top: 272px !important;
    }
  }
  @media only screen and (max-width: 762px) {
    .our-section {
        margin-top: 328px !important;
    }
  }
  @media only screen and (max-width: 418px) {
    .our-section {
        margin-top: 376px !important;
    }
  }
  @media only screen and (max-width: 294px) {
    .our-section {
        margin-top: 392px !important;
    }
  }
  @media only screen and (max-width: 292px) {
    .our-section {
        margin-top: 440px !important;
    }
  }

