body {
  /*border: 1px solid pink;*/
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: none;
  font-weight: 300 to 400;
  font-style: normal;
  background: linear-gradient( #B1BAB5, #F2BEB0);
}

/* Existing styles for larger screens */
.Nav_Bar, .phone-container {
  /* ... your current styles ... */
}

/* New Media Query for mobile devices */
@media (max-width: 768px) {
  .Nav_Bar h1, .phone-container {
    text-align: center; /* Center the text for a clean look */
    margin: 10px 0; /* Add vertical spacing */
  }

  .Nav_Bar h1 {
    font-size: 8vw; /* Use a larger, more readable font size */
  }

  .phone-container p {
    font-size: 4vw; /* Ensure this text is also readable */
  }

  /* Make sure the phone-container stacks its content */
  .phone-container {
    display: block;
  }
}

.material-symbols-outlined {
  font-size: inherit;
}



.Main_Container {
  border: 1px solid black; 
  display: flex;
  background-color: #f0f0f0;
  font-size: 2rem;
  color: #333;
  text-align: center;
  overflow: hidden;
  overflow-wrap: break-word;
  min-height: 60vh;
  box-shadow: 50px 50px 8px rgba(0, 0, 0, 0.1);
}

.Main_Container img {
  width: auto;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 50px;

}

.Main_Container span {

  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 70px;
  margin-right: 70px;
}

.bottom_left_box {
   border: 1px solid black; 
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35vh; /*The 100vh in CSS controls the height of an element, specifically setting it to 100% of the viewport height.*/
  margin-bottom: 20px;
}

.bottom_left_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

.bottom_right_box {
   border: 1px solid black; 
  height: 35vh; /*The 100vh in CSS controls the height of an element, specifically setting it to 100% of the viewport height.*/
  background-color: #f0f0f0;
  overflow: hidden;
 margin-bottom: 20px;
}

.bottom_right_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.double_box {
  font-size: 24px;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  margin: 30px;
  gap: 8px;
}

.bottom_left_box, .bottom_right_box {
/* border: 1px solid black; */
  flex: 1; 
}



h1 {
  color: #333;
  text-align: center;
  margin: 0;
  padding: 50px;
  padding-bottom: none
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-item {
  flex: 1 1 200px;
  box-sizing: border-box;
  overflow: hidden; /* Crucial for keeping the enlarged part of the image contained within its square on hover */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer; /* Indicates it's interactive (both hover and click) */
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth transition for the scale effect on hover */
}

/* Hover Effect: Only scale the image (KEEP THIS) */
.gallery-item:hover img {
  transform: scale(1.15); /* Increase by 15%. Adjust this value for desired enlargement on hover */
}

/* --- LIGHTBOX STYLES (REINTRODUCED AND MODIFIED) --- */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top of everything else */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if the image is too large for the viewport */
  background-color: rgba(0,0,0,0.9); /* Black background with opacity */
  display: flex; /* Use flexbox to center content */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  transition: opacity 0.3s ease; /* Smooth fade in/out effect */
  opacity: 0; /* Start invisible for transition */
  pointer-events: none; /* Allow clicks to pass through when hidden (important for transition) */
}

.lightbox.active {
  opacity: 1; /* Fade in */
  pointer-events: auto; /* Enable interaction when active */
}

.lightbox-content {
  margin: auto; /* Centers the image within the flex container */
  display: block; /* Ensures it behaves like a block element */
  /* Adjust these values for "slightly less dramatic" */
  max-width: 80vw; /* Max 80% of viewport width (changed from 90vw) */
  max-height: 80vh; /* Max 80% of viewport height (changed from 90vh) */
  object-fit: contain; /* Ensures the whole image is visible within the max dimensions, scaling down if necessary */
  transform: scale(0.8); /* Start slightly smaller for entry animation */
  transition: transform 0.3s ease; /* Smooth entry animation */
}

.lightbox.active .lightbox-content {
  transform: scale(1); /* Scale to full size (up to adjusted max-width/height) when active */
}

.close-button {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1001; /* Ensure it's above the image */
}

.close-button:hover,
.close-button:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}





form {
  /* This is the main container for your form. */
  display: block;
  background-color: white;

  /* Use a percentage width and center the form with auto margins */
  width: 90%; 
  max-width: 600px; /* This prevents the form from getting too wide on desktop */
  margin: 20px auto; 
  padding: 30px;

  border: 1px solid black;
  box-shadow: 50px 50px 8px rgba(0, 0, 0, 0.1);
}

label, p {
  display: block;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.5rem
}

fieldset {
  border: none;
  padding: 2rem 0;
  border-bottom: 3px solid #333;
  border-bottom-style: double;
}

input, textarea {
  background-color: #F2BEB0;
  border: 1px solid #B1BAB5;
  color: #ffffff;
  margin: 10px 0 0 0;
  width: 100%;
  min-height: 3rem;
  padding: 10px;
  font-size: 1.5rem;
}

.inline {
  width: unset;
  margin: 0 0.5em 0 0;
  vertical-align: middle;
}

input[type="submit"] {
  display: block;
  width: 60%;
  margin: 1em auto;
  height: 2em;
  font-size: 1.1rem;
  background-color: #F2BEB0;
  border-color: B1BAB5;
  color: black;
  min-width: 300px;
  font-size: 1.5rem;
}

input[type="file"] {
  padding: 10px;
}



 .CU, .CCF,  {
  color: #333;
  text-align: center;
  margin: 0;
  font-size: 1.5vw;
}