﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.uw-footer-stand-out-link {
	text-decoration: none;
}

/* HERO SLIDER */
.uw-hero-slider {
	position: relative;
	overflow: hidden;
}

.uw-hero-inset {
	position: absolute;
	right: 5%;
	top: 50%;
	transform: translateY(-50%);
	background: white;
	padding: 1.5rem 2rem;
	max-width: 350px;
	border-top: 4px solid #c5050c;
	z-index: 10;
}
.uw-hero-slide {
  position: relative;
}

.uw-hero-slide:not(:first-child) {
  display: none;
}
.uw-hero-prev,
.uw-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
    line-height: 1;
}

.uw-hero-prev {
    left: 0;
}

.uw-hero-next {
    right: 0;
}

.uw-hero-prev:hover,
.uw-hero-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* STATS SECTION */
.uw-stats-section {
	padding: 3rem 0;
	background-color: #e4e4e4;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
  text-align: center;
}

.uw-stats-section > .uw-row:first-child {
	max-width: 900px;
	margin: 0 auto;
}

.uw-stats-card {
	background: white;
	padding: 2rem 2.5rem;
	text-align: center;
	border-bottom: 4px solid #c5050c;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.uw-stats-card h2 {
	font-weight: 800;
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
}

.uw-stats-card > p {
	margin-bottom: 1rem;
}

.uw-stats-card hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 1.5rem 0;
}

.uw-stats-icons {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0 1rem;
}

.uw-stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1;
	min-width: 100px;
	max-width: 150px;
}

.uw-stat-item img,
.uw-stat-item svg {
	width: 70px;
	height: 70px;
	margin-bottom: 0.75rem;
}

.uw-stat-item span {
	font-size: 0.85rem;
	line-height: 1.4;
	color: #333;
}

.uw-stats-section .uw-button {
  margin: 0.5rem;
  display: inline-block;
}

/* Center the buttons row */
.uw-stats-section .uw-row.uw-text-center.uw-pad-tb-m {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* FEATURED CARDS */
.uw-three-col {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.uw-three-col > .uw-col,
.uw-three-col > div {
	flex: 1;
	min-width: 280px;
	background: white;
	box-shadow: none;
	padding: 0;
}

.uw-three-col .uw-col > img:first-child,
.uw-three-col > div > img:first-child {
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.uw-three-col h2 {
	font-size: 1.25rem;
	font-weight: 700;
	padding-top: 0.5rem;
	border-top: 4px solid #c5050c;
	display: inline-block;
}

.uw-three-col .uw-card,
.uw-three-col .uw-card-content {
	background: none;
	box-shadow: none;
	padding: 0;
}

/* TWO COLUMN LAYOUT */
.uw-two-col {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
}

.uw-two-col > .uw-col,
.uw-two-col > div {
	flex: 1;
	min-width: 300px;
}

.uw-two-col h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.uw-two-col img {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

/* Profile styling */
.uw-profile {
	margin-top: 1.5rem;
	padding-top: 0.5rem;
	border-top: 4px solid #c5050c;
}

.uw-profile h3 {
	margin-bottom: 0.25rem;
	font-size: 1.1rem;
}

.uw-profile h3 a {
	color: #0479a8;
	text-decoration: none;
}

.uw-profile h3 a:hover {
	text-decoration: underline;
}

/* LINK COLORS */
.uw-more-link {
	color: #0479a8;
	font-weight: 600;
	text-decoration: none;
}

.uw-more-link:hover {
	text-decoration: underline;
}

#uw-top-menus .uw-child-menu a {
	border-bottom: none !important;
}

#uw-top-menus .uw-child-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-skip-ink: auto;
}

.uw-light-gray-bg {
	background-color: #f7f7f7;
}


/* ===========================================
   MOBILE NAV FALLBACK - CSS Media Query Fix
   Forces mobile layout when JS timing fails
   =========================================== */
@media (max-width: 768px) {
	/* Force hamburger button to show */
	.uw-mobile-menu-button-bar {
		display: block !important;
	}

	/* Force menu to be hidden by default on mobile */
	#uw-top-menus {
		display: none !important;
	}

	/* When menu is toggled open via JS */
	#uw-top-menus.uw-is-visible {
		display: block !important;
	}

	/* Force stacked layout on mobile */
	#uw-top-menus .uw-nav-menu,
	#uw-top-menus .uw-nav-menu ul {
		display: block !important;
		width: 100% !important;
	}

	#uw-top-menus .uw-nav-menu li {
		display: block !important;
		width: 100% !important;
	}

	#uw-top-menus .uw-nav-menu > ul > li > a {
		display: block !important;
		padding: 1rem !important;
		border-bottom: 1px solid rgba(255,255,255,0.2) !important;
	}

	/* Secondary nav also stacked */
	#uw-top-menus .uw-secondary-nav .uw-nav-menu {
		position: static !important;
		width: 100% !important;
	}

	/* Prevent horizontal scroll */
	.uw-header-container,
	.uw-main-nav,
	#uw-top-menus {
		max-width: 100% !important;
		overflow-x: hidden !important;
	}

	/* Hide dropdown submenus when closed */
	#uw-top-menus .uw-dropdown > .uw-child-menu {
		display: none !important;
		height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Show dropdown submenus only when active */
	#uw-top-menus .uw-dropdown.uw-is-active > .uw-child-menu {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
}