/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 45vh;
  padding: 10px;
  box-sizing: border-box;
}
.container1 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20vh;
  padding: 10px;
  box-sizing: border-box;
}

/* Button Styling */
.top-right-button {
  position: absolute; /* Positioning the button */
  top: 10px; /* Adjust distance from the top */
  right: 10px; /* Adjust distance from the right */
  padding: 10px 20px;
  font-size: 1rem;
  color: white;
  font-weight: bold;
  background-color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.top-left-button {
  position: absolute; /* Positioning the button */
  top: 10px; /* Adjust distance from the top */
  left: 10px; /* Adjust distance from the right */
  /* padding: 5px 10px; */
  font-size: 1rem;
  color: white;
  font-weight: bold;
  /* background-color: white; */
  border: none;
  /* border-radius: 5px; */
  cursor: pointer;
  transition: background-color 0.3s;
}

.top-left-button img {
max-width: 130px;
}

.top-right-button img {
max-width: 30px;
}

.top-right-button:hover {
  background-color: #355194;
  color: white;
}

/* Header Section Styles */
.header {
  text-align: center;
  margin-bottom: 40px; /* Space between header and grid */
}

.header-icon-container {
  height: 80px; /* Fixed height for icon */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.header-icon {
  max-width: 100px; /* Adjust icon size */
  height: auto;
}

.main-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

.new-box {
	display: grid;
   /* background-color: #4CAF50;  /* Green background */
    color: white;
    padding: 60px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 0px;  /* Space between new box and grid */
	width: 100%;
	max-width: 800px;
	grid-template-columns: repeat(1, 1fr);
    
	opacity: 1;

}
.box_home {
  /* display: flex; */
  /*flex-direction: column;  */
  align-items: center;
  justify-content: left;
  gap: 20px;
  background-color: #f4f4f48c;
  border-radius: 8px;
 
}
.box_home h1 {
  font-size: 70px;
  color: #355194;
  font-family: 'Oswald';
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 10px;
  z-index: 1;
}

.box_home img {
  max-width: 300px; /* Increased size */
  height: auto; /* Maintain aspect ratio */
  margin-top: 2px;
  margin-bottom: 0px;
  border-bottom: 1px solid #e1e1e1;	
  z-index: 1;
 
}
/* Grid styling */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Grid item styling */
.grid-item {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
}


/* Icon Container */
.icon-container {
  height: 120px; /* Fixed height for all icons */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px; /* Space between icon and text */
}

/* Grid Layout */
.grid-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1300px;
  height: 20vh;
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f4f4f4;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.box img {
  max-width: 200px; /* Increased size */
  height: auto; /* Maintain aspect ratio */
  margin-top: 5px;
  margin-bottom: 0px;
  z-index: 2;
  transition: transform 0.3s; /* Add hover effect */
}

.box p {
  font-size: 1.5rem;
  font-weight: bold	;
  font-family: Open Sans;
  margin-top: 5px;
  margin-bottom: 2px;
}

/* Hover Effects */
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.box:hover img {
  transform: scale(1.1); /* Slight zoom effect */
}

/* Footer Styles */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  color: black;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  z-index: 1000; /* Ensures it stays on top of other elements */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
}

footer a {
  color: #4caf50;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/final_img/Depositphotos_3.jpg') no-repeat center center; 
    background-size: cover; /* Ensures the image covers the entire container */
    z-index: -2; /* Ensure it stays behind other content */
}

.background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure it stays above the video but below content */
}

.background-container {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Full viewport height */
  background: url('assests/img/background-image.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Content inside the overlay */
/* .container1, */
/* .container { */
  /* position: relative; */
  /* z-index: 2; /* Ensure content is above the overlay */ */
  /* /* color: white; /* White text for better visibility */ */ */
  /* text-align: center; */
/* } */


/* Media Queries for Responsiveness */
@media (max-width: 1600px) {
  .grid-box {
    grid-template-columns: repeat(2, 1fr); /* 3 columns on medium screens */
  }
	
	.new-box {
    grid-template-columns: repeat(1, 1fr); /* 3 columns on medium screens */
	padding: 0px;
  } 

  .box img {
    max-width: 300px; /* Smaller images on medium screens */
  }

 .box_home img  {
    max-width: 300px; /* Smaller images on medium screens */
    border-bottom: 1px solid #e1e1e1;
  }
.container {
    padding: 0px; /* Reduce container padding */
    min-height: 6vh;
	
  }

   .box_home h1{
	font-size: 50px;
	}
	.box p {
	font-size: 1.2rem;
	}
	.top-right-button img {
	max-width: 30px;
	}
	.top-right-button {
	position: absolute; /* Positioning the button */
	top: 10px; /* Adjust distance from the top */
	right: 10px; /* Adjust distance from the right */
	padding: 10px 20px;
	font-size: 1rem;
	color: white;
	font-weight: bold;
	background-color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
	}
	/* Add backgound changes */
	.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/final_img/Depositphotos_3.jpg') no-repeat center center; 
    background-size: cover; /* Ensures the image covers the entire container */
    z-index: -2; /* Ensure it stays behind other content */
}

.background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure it stays above the video but below content */
}

}


@media (max-width: 1200px) {
  .grid-box {
    grid-template-columns: repeat(2, 1fr); /* 3 columns on medium screens */
  }
	
	.new-box {
    grid-template-columns: repeat(1, 1fr); /* 3 columns on medium screens */
  } 

  .box img {
    max-width: 300px; /* Smaller images on medium screens */
  }

 .box_home img  {
    max-width: 300px; /* Smaller images on medium screens */
    border-bottom: 1px solid #e1e1e1;
  }

   .box_home h1{
	font-size: 50px;
	}
	.box p {
	font-size: 1.2rem;
	}
	.top-right-button img {
	max-width: 30px;
	}
	.top-right-button {
	position: absolute; /* Positioning the button */
	top: 10px; /* Adjust distance from the top */
	right: 10px; /* Adjust distance from the right */
	padding: 10px 20px;
	font-size: 1rem;
	color: white;
	font-weight: bold;
	background-color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
	}
/* Add backgound changes */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/final_img/Depositphotos_3.jpg') no-repeat center center; 
    background-size: cover; /* Ensures the image covers the entire container */
    z-index: -2; /* Ensure it stays behind other content */
}

.background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure it stays above the video but below content */
}
}

@media (max-width: 900px) {
  .grid-box {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
  }

.new-box {
    grid-template-columns: repeat(1, 1fr); /* 3 columns on medium screens */
  }
  .box img {
    max-width: 120px; /* Even smaller images on small screens */
  }
.box_home img  {
    max-width: 200px; /* Smaller images on medium screens */
    border-bottom: 1px solid #e1e1e1;
  }
.box_home h1{
	font-size: 38px;
	}
.box p {
	font-size: 0.8rem;
	}
  .container {
    padding: 10px; /* Reduce container padding */
  }
  .top-right-button img {
	max-width: 20px;
	}
	.top-right-button {
	position: absolute; /* Positioning the button */
	top: 8px; /* Adjust distance from the top */
	right: 5px; /* Adjust distance from the right */
	padding: 8px 16px;
	font-size: 1rem;
	color: white;
	font-weight: bold;
	background-color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s;
	}

/* Add backgound changes */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/final_img/Depositphotos_3.jpg') no-repeat center center; 
    background-size: cover; /* Ensures the image covers the entire container */
    z-index: -2; /* Ensure it stays behind other content */
}

.background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure it stays above the video but below content */
}
}

@media (max-width: 600px) {
  .grid-box {
    grid-template-columns: 1fr; /* 1 column on very small screens */
  }
  .new-box {
    grid-template-columns: repeat(1, 1fr); /* 3 columns on medium screens */
  }

  .box img {
    max-width: 100px; /* Even smaller images on very small screens */
  }
.box_home img  {
    max-width: 125px; /* Smaller images on medium screens */
    border-bottom: 1px solid #e1e1e1;
  }
 .box_home h1{
	font-size: 17px;
	}
.box p {
	font-size: 0.8rem;
	}
.top-right-button img {
	max-width: 10px;
	}
.top-right-button {
	position: absolute; /* Positioning the button */
	top: 5px; /* Adjust distance from the top */
	right: 2px; /* Adjust distance from the right */
	padding: 5px 10px;
	font-size: 1rem;
	color: white;
	font-weight: bold;
	background-color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s;
	}
 .container {
    padding: 10px 20px; /* Reduce container padding */
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 20vh;
	width: 90%;
	box-sizing: border-box;
  }
 .container1 {
    padding: 10px 20px; /* Reduce container padding */
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 20vh;
	width: 90%;
	box-sizing: border-box;
  }

	/* Add backgound changes */
	.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/final_img/Depositphotos_3.jpg') no-repeat center center; 
    background-size: cover; /* Ensures the image covers the entire container */
    z-index: -2; /* Ensure it stays behind other content */
}

.background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure it stays above the video but below content */
}
}

@media (max-width: 500px) {
 
 .new-box {
    display: grid;
   /* background-color: #4CAF50;  /* Green background */
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;  /* Space between new box and grid */
	width: 100%;
	max-width: 800px;
	grid-template-columns: repeat(1, 1fr);
  }

  .box img {
    max-width: 100px; /* Even smaller images on very small screens */
  }
.box_home img  {
    max-width: 125px; /* Smaller images on medium screens */
    border-bottom: 1px solid #e1e1e1;
  }
 .box_home h1{
	font-size: 17px;
	}
.box p {
	font-size: 0.8rem;
	}
.top-right-button img {
	max-width: 20px;
	}
.top-right-button {
	position: absolute; /* Positioning the button */
	top: 5px; /* Adjust distance from the top */
	right: 2px; /* Adjust distance from the right */
	padding: 5px 10px;
	font-size: 1rem;
	color: white;
	font-weight: bold;
	background-color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s;
	}
 .container {
    padding: 10px 20px; /* Reduce container padding */
	padding-top:20px;
	padding-bottom: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 20vh;
	width: 100%;
	box-sizing: border-box;
  }
	.container1 {
    padding: 10px 20px; /* Reduce container padding */
	padding-top:20px;
	padding-bottom: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 20vh;
	width: 100%;
	box-sizing: border-box;
  }

	/* Add backgound changes */
	.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   height: 100vh;
    background: url('../img/final_img/Depositphotos_3.jpg') no-repeat center center; 
    background-size: cover; /* Ensures the image covers the entire container */
    z-index: -2; /* Ensure it stays behind other content */
}

.background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure it stays above the video but below content */
}
 
}
