
/* Overlay Styles */
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2); /* 20% opacity black */
	z-index: 1;
}

/* Scrim Overlays for Desktop and Mobile */
.desktop-scrim,
.mobile-scrim {
	display: none;
}

@media only screen and (min-width: 768px) {
	.umbc-hero-block .hero-scrim.desktop-scrim {
		display: block;
	}
}

@media only screen and (max-width: 767px) {
	.umbc-hero-block .hero-scrim.mobile-scrim {
		display: block;
	}
}

/* Ensure scrims are positioned correctly */
.umbc-hero-block {
	position: relative;
}

.umbc-hero-block .hero-scrim {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	pointer-events: none;
}

/* Hero Content Styles */
.hero-content {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 6em 0;
	z-index: 3;
}

.hero-content.has-form {
	display: flex;
	flex-wrap: wrap;
	gap: 2em; /* Gap between columns */
}

.hero-content-left,
.hero-content-right {
	padding: 0;
	box-sizing: border-box; /* Ensure padding and borders are included in the width */
}

.hero-content.has-form .hero-content-left {
	flex: 0 0 calc(60% - 1em); /* Adjusted flex-basis */
	max-width: calc(60% - 1em); /* Adjusted max-width */
}

.hero-content.has-form .hero-content-right {
	flex: 0 0 calc(40% - 1em); /* Adjusted flex-basis */
	max-width: calc(40% - 1em); /* Adjusted max-width */
	background-color: #f0f0f0 !important; /* Grey background */
	padding: 3em; 
	border-radius: 16px; 
}

/* General Styling for Form Inputs */
.hero-content.has-form .hero-content-right input[type="text"],
.hero-content.has-form .hero-content-right input[type="email"],
.hero-content.has-form .hero-content-right input[type="password"],
.hero-content.has-form .hero-content-right select,
.hero-content.has-form .hero-content-right textarea {
	background-color: #f0f0f0 !important;
	border: none !important;
	border-top: 0px solid #f0f0f0 !important;
	border-right: 0px solid #f0f0f0 !important;
	border-left: 0px solid #f0f0f0 !important;
	border-bottom: 2px solid #007176 !important;
	padding: 4px 0 !important;
	margin: 4px 0 !important; 
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	font-family: inherit;
	color: #333;
	outline: none;
	transition: border-bottom 0.3s ease;
}

/* Remove spinner arrows for number inputs */
.hero-content.has-form .hero-content-right input[type="number"]::-webkit-outer-spin-button,
.hero-content.has-form .hero-content-right input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hero-content.has-form .hero-content-right input[type="number"] {
	-moz-appearance: textfield;
}

/* Focus Styling for Accessibility */
.hero-content.has-form .hero-content-right input[type="text"]:focus,
.hero-content.has-form .hero-content-right input[type="email"]:focus,
.hero-content.has-form .hero-content-right input[type="password"]:focus,
.hero-content.has-form .hero-content-right select:focus,
.hero-content.has-form .hero-content-right textarea:focus {
	border-bottom: 2px solid #007176;
	box-shadow: 0 1px 0 0 #007176;
}

.hero-content.has-form .hero-content-right .wForm div > div.oneField, .hero-content.has-form .hero-content-right .wForm fieldset > div.oneField, .hero-content.has-form .hero-content-right .wForm form > div.oneField, .wForm fieldset, .hero-content.has-form .hero-content-right .wForm .matrixLayout, .wForm .gridLayout, .hero-content.has-form .hero-content-right .wForm h4, .hero-content.has-form .hero-content-right .wForm .wfPagingButtons, .wForm .actions {
	margin: 1em 0; 
}

.hero-content.has-form .wForm .oneField {
	padding: 0 !important;
}
/* Placeholder Text Styling */
.hero-content.has-form .hero-content-right input::placeholder,
.hero-content.has-form .hero-content-right textarea::placeholder {
	color: #999;
	opacity: 1;
}

.hero-content.has-form #tfa_639, *[id^="tfa_639["], .hero-content.has-form #tfa_669, *[id^="tfa_669["] {
	width: 100% !important;
}

/* Label Styling */
.hero-content.has-form .hero-content-right label {
	display: block;
	margin-bottom: 4px;
	font-weight: bold;
	color: #333;
}

/* Disabled and Read-Only Fields */
.hero-content.has-form .hero-content-right input[disabled],
.hero-content.has-form .hero-content-right textarea[disabled],
.hero-content.has-form .hero-content-right select[disabled],
.hero-content.has-form .hero-content-right input[readonly],
.hero-content.has-form .hero-content-right textarea[readonly],
.hero-content.has-form .hero-content-right select[readonly] {
	background-color: #e0e0e0;
	border-bottom: 2px solid #ccc;
	color: #666;
	cursor: not-allowed;
}

/* Enhanced Focus Styling for Keyboard Navigation */
.hero-content.has-form .hero-content-right input:focus-visible,
.hero-content.has-form .hero-content-right select:focus-visible,
.hero-content.has-form .hero-content-right textarea:focus-visible {
	border-bottom: 2px solid #007176;
	outline: 2px solid rgba(0, 123, 255, 0.25);
}

/* Responsive Form Elements */
.hero-content.has-form .hero-content-right input,
.hero-content.has-form .hero-content-right select,
.hero-content.has-form .hero-content-right textarea {
	max-width: 100%;
	width: 100%;
}
/* Hide <br> elements immediately following <label> tags within the form */
.hero-content.has-form .hero-content-right label + br {
	display: none;
}

/* Headline Styles */
.entry-content h1.hero-headline, h1.hero-headline {
	margin-bottom: 0.5em;
	color: #fff !important;
	font-weight: 800;
	font-family: 'Inter', sans-serif;
	letter-spacing: -0.432px;
}

.entry-content h2.hero-subheadline, h2.hero-subheadline {
	margin-bottom: 0.75em;
	color: #fff !important;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	letter-spacing: -0.352px;
}

/* Text Styles */
.hero-text p, .hero-text ul, .hero-text li, .hero-text, .hero-text h3 {
	margin-bottom: 1em;
	color: #fff;
}

.umbc-hero-block .hero-text p {
	font-size: 20px !important; /* Replace with PHP variable if needed */
	line-height: 32px !important; /* 20 + 12 */
}

/* Responsive Adjustments */
@media only screen and (max-width: 767px) {
	.hero-content {
		padding: 4em 2em;
	}
	
	.hero-content.has-form {
		flex-direction: column;
	}
	
	.hero-content.has-form .hero-content-left,
	.hero-content.has-form .hero-content-right {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.umbc-hero-block .hero-text p {
		font-size: 20px !important; /* Replace with PHP variable if needed */
		line-height: 32px !important; /* 20 + 12 */
	}
	
	.hero-content.has-form .hero-content-right {
		margin-top: 1em;
	}
}

/* CTA Styles */
.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}



@media only screen and (max-width: 500px) {
	.hero-ctas {
		flex-direction: column;
		align-items: flex-start; /* Prevent buttons from stretching */
	}
}
/* Button Styles */
.btn {
	padding: 0.75em 1.5em;
	text-decoration: none;
	display: inline-block;
}

a.btn-solid, a.btn-ghost {
	font-weight: 700; 
	font-size: 14px; 
	text-transform: capitalize;
}

.btn-solid {
	background-color: #fdb515;
	border-radius: 4px;
	color: #000 !important; 
}

.btn-ghost {
	background-color: transparent;
	border: 1px solid #fdb515;
	border-radius: 4px;
	color: #fff !important;
}

.btn-solid:hover {
	background-color: #ab7501;
}

.btn-ghost:hover {
	border: 1px solid #ffffff;
}

.hero-content-right .form-intro h1,
.hero-content-right .form-intro h2,
.hero-content-right .form-intro h3,
.hero-content-right .form-intro h4,
.hero-content-right .form-intro h5,
.hero-content-right .form-intro h6,
.hero-content-right .form-intro ul,
.hero-content-right .form-intro li,
.hero-content-right .form-intro ol,
.hero-content-right .form-intro p ,
.hero-content-right .form-intro {
	color: #252525 !important;
}


/* Responsive Background Images */
@media only screen and (min-width: 991px) {
	.umbc-hero-block {
		background-image: url('https://www-dev.umbc.edu/wp-content/themes/umbc-theme/images/paw-loading.gif'); /* This will be overridden by inline CSS */
	}
}

@media only screen and (max-width: 990px) {
	.umbc-hero-block {
		background-image: url('https://www-dev.umbc.edu/wp-content/themes/umbc-theme/images/paw-loading.gif'); /* This will be overridden by inline CSS */
	}
}