@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(open_sans_italic.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(open_sans_normal_400.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(open_sans_normal_600.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(open_sans_normal_700.ttf) format('truetype');
}
* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #666;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #2ea3f2; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
	color: #333;
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 .6em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }

blockquote {
	margin: 1em 0;
	padding-left: 1em;
	border-left: 4px solid #2ea3f2;
	font-style: italic;
	color: #333;
}

.text-center { text-align: center; }

/* Header / nav */

header#site-header {
	border-bottom: 1px solid #eee;
	padding: 20px 0;
}

header#site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

#logo { height: 50px; }

nav#main-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6em;
	margin: 0;
	padding: 0;
	list-style: none;
}

nav#main-nav > ul > li {
	position: relative;
}

nav#main-nav a {
	color: #333;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
}
nav#main-nav a:hover { color: #2ea3f2; }

nav#main-nav .has-submenu > a::after {
	content: " ▾";
	font-size: .8em;
}

nav#main-nav .submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
	padding: 10px 0;
	min-width: 220px;
	flex-direction: column;
	gap: 0;
	z-index: 10;
}
nav#main-nav .submenu li { padding: 4px 16px; }
nav#main-nav .has-submenu:hover .submenu,
nav#main-nav .has-submenu:focus-within .submenu {
	display: flex;
}

/* Sections */

main section {
	padding: 50px 0;
}

.hero img { width: 100%; }

/* Responsive grids for icon/image blocks */

.grid {
	display: grid;
	gap: 2.5em 2em;
}
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 800px) {
	.grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.grid figure { margin: 0; }
.grid figure img { max-width: 140px; margin: 0 auto 1em; }
.grid figcaption h3 { margin-bottom: .3em; }

/* Buttons */

.btn {
	display: inline-block;
	border: 2px solid #2ea3f2;
	color: #2ea3f2;
	padding: .5em 1.4em;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
}
.btn:hover {
	background: #2ea3f2;
	color: #fff;
}

.btn-row { margin-top: 1em; }

/* Stats (was Divi's animated number counter) */

.stat {
	font-size: 3rem;
	font-weight: 700;
	color: #2ea3f2;
	margin: 0;
	line-height: 1;
}

/* Responsive video embed */

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.video-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Photo gallery */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1em;
}
.gallery img { width: 100%; object-fit: cover; }

/* Footer */

footer#site-footer {
	background: #222;
	color: #ccc;
	padding: 50px 0 20px;
	margin-top: 40px;
}
footer#site-footer .grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) {
	footer#site-footer .grid { grid-template-columns: 1fr 1fr; }
}
footer#site-footer h4 {
	color: #fff;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
footer#site-footer ul { list-style: none; padding: 0; margin: 0; }
footer#site-footer li { margin-bottom: .5em; }
footer#site-footer a { color: #ccc; }
footer#site-footer a:hover { color: #fff; }

.footer-bottom {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #3a3a3a;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: .9rem;
}
