*{
  margin : 0px;
  padding : 0px;
  width : 100%;
}

.box {
  width: 100%;
  min-height: 40vh;          /* thori space */
  padding-top: 10px;         /* image ko upar feel */
}

.box img {
  display: block;            /* removes inline gap */
  max-width: 100%;
  height: auto;              /* 👈 NO SQUEEZE */
  margin: 0 auto;            /* horizontally center */
}
  
  .image-overlay {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.0); /* Black with 50% opacity */
    color: #FFFFFF;
    text-shadow: 0 12px 10px black;
    font-weight: bold;
    font-family: 'Bell MT';
    font-size: 18px;
    padding-top: 15%;
    text-align: center;
  }

  .image-overlay p{
    width: 100%;
    height: 15vh;
  }

  .AvailabilitySection{
    margin-top: 100px;
    width:100%;
    height: 60vh;
    display: flex; 
  }

#block{
    width:30%;
    height: 60vh;
    margin-left: 30px;
}

#block img{
    margin-left: 150px;
    margin-top: 20px;
    border-radius: 50%;
    width: 100px;
}

#blog{
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgb(236, 236, 236);
    padding-left: 20px;
    padding-top: 50px;
}

.ServicesSection{
    width: 100%;
    height: 180vh;
    margin-top: 100px;
}

header {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  color:rgb(12, 12, 70);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
        
.subtitle {
  font-size: bold;
  font-size: 1.2rem;
  opacity: 0.9;
}
        
.gallery {
  display: grid;
  width: 90%;
  height: 170vh;
  margin-left: 5%;
  padding-left: 1.8%;
}
        
.row {
  width: 100%;
  height: 50vh;
  display: flex;
  gap: 30px;
  margin-top: 100px;
}
        
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}
        
.block {
  flex: 1;
  width: 33.3%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden; 
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
        
.block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
        
.block-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
        
.block:hover .box-image {
  transform: scale(1.05);
}
        
.block-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  color: white;
}
        
.block-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
        
.view-btn {
  color: black;
  padding: 10px 20px;
  border-radius: 15px;
  border: 5px solid black;
  background-color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
        
.view-btn:hover {
  transform: scale(1.05);
}
        
/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
        
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
        
.popup-content {
  background: white;
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.4s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
        
.popup-overlay.active .popup-content {
  transform: scale(1);
}
        
.popup-header {
  padding: 20px;
  color: rgb(24, 23, 23);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
       
.popup-title {
  font-size: 1.8rem;
  margin: 0;
}
       
.close-btn {
  width: 20px;
  background: none;
  border: none;
  color: rgb(110, 3, 3);
  font-size: 1.8rem;
  cursor: pointer;
 transition: transform 0.3s;
}
       
.close-btn:hover {
  color: rgb(110, 3, 3);
  text-shadow:  3px 3px 3px  rgb(110, 3, 3);
  border-radius: 50%;
  transform: scale(1.2);
  }
       
.popup-body {
  padding: 25px;
  max-height: 60vh;
  overflow-y: auto;
}

.popup-text {
  line-height: 1.6;
  color: #555;
}
       
footer {
  text-align: center;
  margin-top: 50px;
  color: white;
  opacity: 0.8;
}

#button{
  width: 35%;
  height: 10vh;
  margin-left: 25%;
  margin-top: 5%;
  border-radius: 15px;
  border: 5px solid black;
  background-color: white;
  box-shadow: 5px 5px 10px gray;
}

#button a{
  color: black;
  font-weight: bold;
}

#button:hover{
  transform: scale(1.05);
}

@media screen and (max-width: 524px) and (min-width: 330px) {
  .box {
    min-height: 40vh;
  }

  .box img {
    max-width: 100%;
    height: auto;
  }

  .image-overlay {
    min-height: 40vh;
    display: none;
  }

  .AvailabilitySection{
    width: 100%;
    padding-left: 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #block{
    width: 95%;
    margin-left: 0px;
  }
  
  .ServicesSection{
    width: 100%;
    padding-left: 2.5vh;
    padding-right: 2.5vh;
    height: 100%;
  }

  .gallery {
  width: 100%;
  height: 80%;
  padding-left: 0%;
  margin-left: 6%;
  display: flex;
  flex-direction: column;
}
        
.row {
  width: 96%;
  margin-left: 0%;
  height: 160vh;
  display: flex;
  flex-direction: column;
  margin-top: 5%;
}   
     
/* Popup Styles */
.popup-overlay {
  width: 100%;
  height: 100vh;
}
                
.popup-content {
  height: 100vh;
}
        
#button{
  width: 30vh;
  height: 10vh;
  margin-left: 15%;
  margin-top: 10px;
  box-shadow: 5px 5px 10px gray;
}

#button:hover{
  background-color: rgb(44, 44, 44);
  color: rgb(255, 251, 251);
} 
 
}

@media screen and (min-width: 525px) and (max-width: 768px) {
  .box {
    min-height: 40vh;
  }

  .box img {
    max-width: 100%;
    height: auto;
  }

  .image-overlay {
    min-height: 40vh;
  }

  .AvailabilitySection{
    width: 100%;
    padding-left: 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #block{
    width: 95%;
    height: 100%;
    margin-left: 0px;
  }
  
  .ServicesSection{
    width: 100%;
    padding-left: 3.5vh;
    padding-right: 3.5vh;
    height: 100%;
  }

  .gallery {
  width: 100%;
  height: 80%;
  padding-left: 0%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
}
        
.row {
  width: 98%;
  margin-left: 0%;
  height: 160vh;
  display: flex;
  flex-direction: column;
  margin-top: 5%;
}   
     
/* Popup Styles */
.popup-overlay {
  width: 100%;
  height: 100vh;
}
                
.popup-content {
  height: 100vh;
}
        
#button{
  width: 30vh;
  height: 10vh;
  margin-left: 15%;
  margin-top: 10px;
  box-shadow: 5px 5px 10px gray;
}

#button:hover{
  background-color: rgb(44, 44, 44);
  color: rgb(255, 251, 251);
} 
}

@media screen and (min-width: 769px) and (max-width: 900px) {
  .box {
    min-height: 40vh;
  }

  .box img {
    max-width: 100%;
    height: auto;
  }

  .image-overlay {
    min-height: 40vh;
  }

  .AvailabilitySection{
    width: 100%;
    padding-left: 1.5%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #block{
    width: 95%;
    height: 100%;
    margin-left: 0px;
  }
  
  .ServicesSection{
    width: 100%;
    padding-left: 3.5vh;
    padding-right: 3.5vh;
    height: 100%;
  }

  .gallery {
  width: 100%;
  height: 80%;
  padding-left: 0%;
  margin-left: 3%;
}
        
.row {
  width: 98%;
  margin-left: 0%;
  height: 100%;
  margin-top: 5%;
}   

.block{
  width: 50%;
  height: 300px;
}
     
/* Popup Styles */
.popup-overlay {
  width: 100%;
  height: 100vh;
}
                
.popup-content {
  height: 100vh;
}
        
#button{
  width: 30vh;
  height: 10vh;
  margin-left: 15%;
  margin-top: 10px;
  box-shadow: 5px 5px 10px gray;
}

#button:hover{
  background-color: rgb(44, 44, 44);
  color: rgb(255, 251, 251);
} 
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
  .box {
    min-height: 40vh;
  }

  .box img {
    max-width: 100%;
    height: auto;
  }

  .image-overlay {
    min-height: 40vh;
  }

  .AvailabilitySection{
    width: 100%;
    padding-left: 1.5%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #block{
    width: 95%;
    height: 100%;
    margin-left: 0px;
  }
  
  .ServicesSection{
    width: 100%;
    padding-left: 3.5vh;
    padding-right: 3.5vh;
    height: 100%;
  }

  .gallery {
  width: 100%;
  height: 80%;
  padding-left: 0%;
  margin-left: 3%;
}
        
.row {
  width: 98%;
  margin-left: 0%;
  height: 100%;
  margin-top: 5%;
}   

.block{
  flex: 3;
  width: 33.3%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden; 
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
     
/* Popup Styles */
.popup-overlay {
  width: 100%;
  height: 100vh;
}
                
.popup-content {
  height: 100vh;
}
        
#button{
  width: 30vh;
  height: 10vh;
  margin-left: 15%;
  margin-top: 10px;
  box-shadow: 5px 5px 10px gray;
}

#button:hover{
  background-color: rgb(44, 44, 44);
  color: rgb(255, 251, 251);
} 
}
