.Grid_Container {
	position: relative;
	background-color: #1E1E1E;
	padding: 60px 20px 325px;
	width: 100%;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
	z-index:1;
}

.Section_1 {
	display: grid;
	margin-left: 15%;
	margin-right: 15%;
	grid-template-columns: 70% 30%;
	grid-template-rows: auto;
}

.Section_1 h1{
	color: #fff;
	font-size: clamp(1rem, 8.5vw + 1rem, 5rem);
	line-height: 1;
	margin: 0;
	grid-column: 1;
	grid-row: 1;
	max-width: 80%;
}

#Hero_Sub{
	color: #c5c5c5;
	font-size: 2rem;
	margin-top:15px;
	margin-bottom:75px;
	grid-column: 1;
	grid-row: 1;
}
.Page_Btn {
	position: relative;
	grid-column: 1;
	grid-row: 2;
	z-index: 2;
}

/* Style the anchor tag directly for proper button rendering */
.Page_Btn a {
  display: inline-block;
  border: 2px solid #e90802;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 2rem;
  color: #fff;
  background-color: #e90802;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(233,8,2,0.5);
  transition: box-shadow ease-in-out 0.3s;
}

#bannerImg {
	grid-column: 2;
	grid-row: 1/3;
	height: auto;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
	justify-content: center;
	align-content: center;
}


.Section_2 {
	width: 100%;
	margin-top:-220px;
}

.Section_2 h2{
	border-top: 1px solid #333;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #fff;
	font-size: clamp(1rem, 4.5vw + 1rem, 3rem);
	text-align: center;
}

.Content_Container{
	position: relative;
	z-index: 3;
}

.Btn_Grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	justify-content: center;
	gap: 20px;
	padding: 0 20px;
	margin-left: 15%;
	margin-right: 15%;
	margin-bottom: 50px;
}

.Btn {
	border-top: 6px solid #e90802;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);;
	border-radius: 6px;
	padding: 30px 25px;
	transition: transform 0.3s ease;
	display: flex;
	background-color: #fff;
	flex-direction: column;
	height: 100%;
}

.Btn:hover {
	transform: translateY(-20px); 
}

.Btn a {
	flex-basis: 1fr;
	font-size: 1.5rem;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

.Btn p {
	flex-basis: auto;
}

.Btn ul {
	padding-left: 0;
	margin-left: 0;
	margin-top: 15%;
	margin-bottom: 15%;
	list-style-type: none;
}

.Btn ul li {
	text-align: center;
	background-color: #ededed;
	text-indent: none;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 15px;
	transition: background-color .03s ease;
}

.Btn ul li:hover{
	background-color: #1E1E1E;
}


.Btn ul li a{
	text-decoration: none;
	font-size: 1.2rem;
	color: #1E1E1E;
}

.Btn ul li a:hover{
	color: #fff;
}

/*Resources Btn */
.Rsc_Btn {
	grid-column: 1 / 5;
	border-top: 6px solid #e90802;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);;
	border-radius: 6px;
	padding: 30px 25px;
	transition: transform 0.3s ease;
	display: flex;
	background-color: #fff;
	flex-direction: row;
	height: 100%;
	width: 100%;
}

.Rsc_Btn a {
	flex-basis: auto;
	font-size: 1.5rem;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

.Rsc_Btn p {
	flex-basis: auto;
}

.Rsc_Btn ul {
	padding: 0;
	gap: 40px;
	margin-left: 10%;
	margin-right: 10%;
	list-style-type: none;
	display: flex;
}

.Rsc_Btn ul li {
	text-align: center;
	background-color: #ededed;
	text-indent: none;
	min-width: 25%;
	min-height: 80%;
	padding: 10px;
	border-radius: 15px;
	transition: background-color .03s ease;
}

.Rsc_Btn ul li:hover{
	background-color: #1E1E1E;
}


.Rsc_Btn ul li a{
	text-decoration: none;
	font-size: 1.2rem;
	color: #1E1E1E;
}

.Rsc_Btn ul li a:hover{
	color: #fff;
}
/*Resources Btn End*/

.Section_3 {
	display: grid;
	margin-top: 50px;
	grid-template-columns: 70% 30%;
	grid-template-rows: auto auto;
	margin-left: 15%;
	margin-right: 15%;
}

.Section_3 ul li {
	list-style-type: none;
}

.Section_3 ul li a{
	text-decoration: none;
	color: #e90802;
}

.Section_3 h2{
	font-size: 3rem;
	padding-bottom: 20px;
	border-bottom: 3px solid #e90802;
}

#News_Content{
	grid-column: 1;
	grid-row: 1/2;
	padding: 0px 20px;
	background-color: #ededed;
	padding-bottom: 50px;
}

#News_Content h2{
	padding-bottom: 50px;
	font-size: 3rem;
	text-align: center;
}

#Contacts{
	background-color: #757575;
	padding-left: 5%;
	padding-right: 5%;
	grid-column: 2;
	grid-row: 1;
}

#Contacts h2{
	color: #fff;
	padding-bottom: 50px;
	font-size: 3rem;
	text-align: center;
}

#Contacts ul{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	padding: 20px;
	justify-content: center;
	column-gap: 20px;
	margin-left: auto;
	margin-right: auto;
}

#Contacts li{
	/*border-top: 6px solid #e90802;*/
	border-radius: 6px;
	padding: 10px 10px;
	transition: transform 0.3s ease;
	display: flex;
	background-color: #fff;
	flex-direction: column;
	height: auto;
	box-shadow: 4px 4px 10px rgba(30,30,30,0.5);
	transition: box-shadow 0.3s ease;
}

#Contracts li:hover {
	box-shadow:  0 0 10px 5px rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
	/* 1. Main button grid drops to 1 card per line */
	.Btn_Grid {
		grid-template-columns: 1fr;
		margin-left: 5%;
		margin-right: 5%;
	}

	/* 2. Resources button fixes */
	.Rsc_Btn {
		grid-column: 1;
		flex-direction: column;
		height: fit-content;
	}

	.Rsc_Btn ul {
		flex-direction: column;
		gap: 20px;
		margin-left: 0;
		margin-right: 0;
	}

	.Rsc_Btn ul li {
		min-width: 100%;
		height: fit-content;
	}

	/* 3. Section 1 layout stacking */
	.Section_1 {
		grid-template-columns: 100%;
		margin-left: 5%;
		margin-right: 5%;
	}

	.Section_1 h1,
	#Hero_Sub,
	.Page_Btn {
		grid-column: 1;
	}

	#bannerImg {
		grid-column: 1;
		grid-row: auto;
		margin-top: 30px;
		width: 100%;
	}

	/* 4. Section 3 (News and Contacts) - Fixed to keep both visible and stacked */
	.Section_3 {
		display: flex;
		flex-direction: column;
		margin-left: 5%;
		margin-right: 5%;
	}

	#News_Content {
		grid-column: auto;
		grid-row: auto;
		width: 100%;
		margin-bottom: 20px;
	}

	#Contacts {
		grid-column: auto;
		grid-row: auto;
		width: 100%;
		padding: 20px 5%;
	}

	#Contacts ul {
		grid-template-columns: 1fr;
	}
}