*{
  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: 100%;
    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;
  }

  #topButtons{
    width: 30%;
    height: 10vh;
    margin-top: 40%;
    margin-left: 15%;
    background-color: white;
    border: 5px solid #000000;
    border-radius: 20px;
  }

  #topButtons a{
    font-size: 18px;
    font-weight: bold;
    color: black;
    text-decoration: none;
  }

  #topButtons:hover{
    transform: scale(1.05);
    opacity: 0.9;    
  }

.blocks{
    margin-top: 100px;
    margin-left: 60px;
    width: 90%;
    height: 110vh;
    display: flex;
}

.block1{
    width: 50%;
    padding-right: 5%;
    padding-top: 130px;
}

.block1 h3{
  color: rgb(12, 12, 70);
  font-weight: bold;
}

.block2{
    width: 50%; 
    height: 100%;   
}

#imageTag img{
  height: 100%;
  margin-top: 18%;
  box-shadow: 5px 5px 10px gray;
}

/* GRID LAYOUT */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 2%;
  margin: 50px auto;
  text-align: center;
}

/* LINK RESET */
.grid-link {
  text-decoration: none;
  color: inherit;
}

/* GRID BOX */
.grid-box {
  position: relative;
  width: 80%;
  height: 35vh;
  border-radius: 5%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  margin-left: 10%;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.grid-box:hover {
  transform: scale(1.05);
}

/* TRANSPARENT OVERLAY (BACKGROUND ONLY) */
.grid-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ✅ transparency */
  border-radius: 5%;
  z-index: 1;
}

/* TEXT */
.box-title {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.box-title:hover {
  color: rgb(12, 12, 70); /* ✅ hoverable text */
}

/* BUTTON */
#serviceBookNow {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 20px;
  transition: background 0.3s ease;
}

#serviceBookNow:hover {
  background: white;
}


#box{
    height: 13vh;
    text-align: center;
    font-size: 15px;
}

#box h3{
    margin-top: 15%; 
}

#linkToServices{
    text-decoration: none;
    color:rgb(12, 12, 70)
}

#linkToServices:hover{
    text-decoration: none;
    color:  rgb(27, 27, 27);
}

#button{
    width: 50%;
    height: 10vh;
    margin-left: 25%;
    box-shadow: 5px 5px 10px gray;
    background-color:gray;
}

#button a{
  text-decoration: none; 
  font-weight: bolder;
  color: rgb(255, 255, 255)
}

#button:hover{
  background-color: rgb(26, 26, 26);
}

  .ServingAreas{
  height: 80vh;
  margin-top:12%;
  background-color: rgb(255, 254, 254);
}

#ServingAreas{
  width:90%;
  height: 50vh;
  margin-left: 60px;
}

#ViewAllbtn{
  width:25%;
  height:9vh;
  background-color: white;
  border: 5px solid black;
  border-radius: 15px;
  box-shadow: 0 4px 12px #000000;
}

#ViewAllbtn a{
  font-size: 18px;
  font-weight: bold;
  text-decoration: none; 
  color: black
}

#ViewAllbtn:hover{
  transform: scale(1.05);
  opacity: 0.9;
}

.row_b{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 10px;
  width: 100%;
  margin: 50px auto;
  text-align: center;
}

.colom{
  position: relative;
  width: 35vh;
  height: 35vh;
  border-radius: 5%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.colom:hover {
  transform: scale(1.05);
}

/* TRANSPARENT OVERLAY (BACKGROUND ONLY) */
.colom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ✅ transparency */
  border-radius: 5%;
  z-index: 1;
}

#colom{
  margin-top: 50%;
}

#colom a{
  font-size: 25px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Responsive adjustments for screen width 330px to 524px */
@media screen and (max-width: 524px) and (min-width: 330px) {

  .box {
    min-height: 40vh;
    padding-top: 8px;
  }

  .box img {
    max-width: 100%;
    height: auto;
    margin-top: 5vh;
  }

  .image-overlay {
    min-height: 40vh;
  }

  #topButtons{
    width: 60%;
    height: 5vh;
    margin-top: 70%;
    margin-left: 0%;
    border-radius: 20px;
  }

  #topButtons a{
    font-size: medium;
  }

  .blocks{
    margin-top: 15%;
    margin-left: 0vh;
    margin-bottom: 10%;
    padding-left: 5%;
    width: 100%;
    height: 100%;
  }

  .block1{
    width: 100%;
    height: 50%;
    padding-top: 0px;
  }

  .block2{
    display: none;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding-left: 0%;
    justify-content: center;
}

.grid-box {
  width: 80%;
  height: 18vh;
  padding-top: 35%;
  justify-content: center;
  margin-bottom: 5px;
}

.box-title{
  padding-bottom: 0;
  font-size: 12px;
}

#serviceBookNow {
  font-size: 10px;
}

.ServingAreas{
  width: 100%;
  height: 110vh;
  padding-left: 5%;
  margin-top: 30%;
}

#ServingAreas{
  width:100%;
  height: 110vh;
  margin-left: 0vh;
}

#ViewAllbtn{
  width:60%;
  height: 10vh;
  margin-left: 0%;
  margin-right: 5%;
}

#ViewAllbtn a{
  font-size: 15px;
}

.row_b{
  height: 70vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.colom{
  width: 18vh;
  height: 18vh;
  margin-top: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}

#colom{
  margin-top: 50%;
}

#colom a{
  font-size: 15px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
}
}

@media screen and (min-width: 525px) and (max-width: 768px) {
  .box {
    min-height: 40vh;
    padding-top: 8px;
  }

  .box img {
    max-width: 100%;
    height: auto;
    margin-top: 5vh;
  }

  .image-overlay {
    min-height: 40vh;
  }

  #topButtons{
    width: 60%;
    height: 8vh;
    margin-top: 60%;
    margin-left: 0%;
    border-radius: 20px;
  }

  #topButtons a{
    font-size: large;
  }

  .blocks{
    margin-top: 30%;
    margin-left: 0vh;
    margin-bottom: 10%;
    padding-left: 5%;
    width: 100%;
    height: 100%;
  }

  .block1{
    width: 100%;
    height: 50%;
    padding-top: 0px;
  }

  .block2{
    display: none;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding-left: 0%;
    justify-content: center;
}

.grid-box {
  width: 80%;
  height: 30vh;
  padding-top: 35%;
  justify-content: center;
  margin-bottom: 5px;
}

.box-title{
  padding-bottom: 0;
  font-size: 12px;
}

#serviceBookNow {
  font-size: 10px;
}

.ServingAreas{
  width: 100%;
  height: 130vh;
  padding-left: 5%;
  margin-top: 25%;
}

#ServingAreas{
  width:100%;
  height: 130vh;
  margin-left: 0vh;
}

#ViewAllbtn{
  width:70%;
  height: 10vh;
  margin-left: 0%;
  margin-right: 5%;
}

#ViewAllbtn a{
  font-size: 15px;
}

.row_b{
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.colom{
  width: 30vh;
  height: 30vh;
  margin-top: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}

#colom{
  margin-top: 50%;
}

#colom a{
  font-size: 15px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
}
}

@media screen and (min-width: 769px) and (max-width: 900px) {
  .box {
    min-height: 40vh;
    padding-top: 8px;
  }

  .box img {
    max-width: 100%;
    height: auto;
    margin-top: 2.5vh;
  }

  .image-overlay {
    min-height: 40vh;
  }

  #topButtons{
    width: 60%;
    height: 8vh;
    margin-top: 50%;
    margin-left: 0%;
    border-radius: 20px;
  }

  #topButtons a{
    font-size: large;
  }

  .blocks{
    margin-top: 20%;
    margin-left: 0vh;
    margin-bottom: 10%;
    padding-left: 5%;
    width: 100%;
    height: 100%;
  }

  .block1{
    width: 100%;
    height: 50%;
    padding-top: 0px;
  }

  .block2{
    display: none;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding-left: 0%;
    justify-content: center;
}

.grid-box {
  width: 80%;
  height: 30vh;
  padding-top: 35%;
  justify-content: center;
  margin-bottom: 5px;
}

.box-title{
  padding-bottom: 0;
  font-size: 12px;
}

#serviceBookNow {
  font-size: 10px;
}

.ServingAreas{
  width: 100%;
  height: 130vh;
  padding-left: 5%;
  margin-top: 25%;
}

#ServingAreas{
  width:100%;
  height: 130vh;
  margin-left: 0vh;
}

#ViewAllbtn{
  width:70%;
  height: 10vh;
  margin-left: 0%;
  margin-right: 5%;
}

#ViewAllbtn a{
  font-size: 15px;
}

.row_b{
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.colom{
  width: 30vh;
  height: 30vh;
  margin-top: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}

#colom{
  margin-top: 50%;
}

#colom a{
  font-size: 15px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
}
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
  .box {
    min-height: 40vh;
    padding-top: 8px;
  }

  .box img {
    max-width: 100%;
    height: auto;
    margin-top: 5vh;
  }

  .image-overlay {
    min-height: 40vh;
  }

  #topButtons{
    width: 60%;
    height: 8vh;
    margin-top: 55%;
    margin-left: 0%;
    border-radius: 20px;
  }

  #topButtons a{
    font-size: large;
  }

  .blocks{
    margin-top: 20%;
    margin-left: 0vh;
    margin-bottom: 10%;
    padding-left: 5%;
    width: 100%;
    height: 100%;
  }

  .block1{
    width: 100%;
    height: 50%;
    padding-top: 0px;
  }

  .block2{
    display: none;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding-left: 0%;
    justify-content: center;
}

.grid-box {
  width: 80%;
  height: 30vh;
  padding-top: 35%;
  justify-content: center;
  margin-bottom: 5px;
}

.box-title{
  padding-bottom: 0;
  font-size: 12px;
}

#serviceBookNow {
  font-size: 10px;
}

.ServingAreas{
  width: 100%;
  height: 130vh;
  padding-left: 5%;
  margin-top: 25%;
}

#ServingAreas{
  width:100%;
  height: 130vh;
  margin-left: 0vh;
}

#ViewAllbtn{
  width:70%;
  height: 10vh;
  margin-left: 0%;
  margin-right: 5%;
}

#ViewAllbtn a{
  font-size: 15px;
}

.row_b{
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.colom{
  width: 30vh;
  height: 30vh;
  margin-top: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}

#colom{
  margin-top: 50%;
}

#colom a{
  font-size: 15px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
}

}

