:root {
		--white: #FFFFFF;
		--red: #E81D33;
		--gray: #2A2A2A;
		--dark-gray: #202020;
		--light-gray: #F5F5F5;
		--shadow: 0 4px 12px rgba(0,0,0,0.1);
		--transition: all 0.3s ease;
}

* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
}

*[onclick] {
	cursor: pointer;
}

body {
		font-family: 'Open Sans', sans-serif;
		line-height: 1.6;
		color: var(--gray);
		background-color: var(--white);
		padding-top: 96px;
}

.right {
	float: right;
}

.textCenter {
	text-align: center;
}

hr.contact-separator {
		border: 0;
		height: 1px;
		background-color: var(--light-gray);
		margin: 24px 0;
		width: 100%;
}

h1, h2, h3, h4 {
		font-family: 'Montserrat', sans-serif;
		font-weight: 700;
		line-height: 1.2;
}

.container {
		width: 90%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 15px;
}

.container-padded {
	padding-top: 30px;
	padding-bottom: 30px;
}

.container.content-container {
	padding-top: 30px;
	padding-bottom: 30px;
}

.btn {
		display: inline-block;
		padding: 12px 28px;
		background: var(--red);
		color: var(--white);
		border-radius: 30px;
		text-decoration: none;
		font-weight: 600;
		transition: var(--transition);
		border: none;
		cursor: pointer;
		font-size: 1rem;
		box-shadow: var(--shadow);
}

.btn:hover {
		background: #c01a2a;
		transform: translateY(-3px);
		box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-outline {
		background: transparent;
		border: 2px solid var(--red);
		color: var(--red);
}

.btn-outline:hover {
		background: var(--red);
		color: var(--white);
}

.btn-dark {
		background: var(--dark-gray);
		color: var(--white);
}

.btn-dark:hover {
		background: #151515;
}

/* reCAPTCHA Badge */
.grecaptcha-badge {
	display: none;
}

.recaptcha-badge {
  position: relative;
  width: 245px;
  height: 50px;
  background: #4A90E2;
  box-shadow: 0px 0px 3px #CCC;
	display: inline-block;
	vertical-align: middle;
}

.recaptcha-badge .recaptcha-badge-left {
  float: left;
  width: 70px;
  height: 100%;
  background-image: url('https://scoutingevent.com/images/recaptcha-logo.png');
  background-size: 2.5vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #FFF;
}

.recaptcha-badge .recaptcha-badge-left > img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  left: 500px;
  top: 500px;
}

.recaptcha-badge .recaptcha-badge-right {
  display: inline-block;
  width: calc(100% - 40px);
  background: #4A90E2;
  color: #FFF;
}

.recaptcha-badge .recaptcha-badge-links > a {
  color: #FFF;
}

.recaptcha-badge .recaptcha-badge-right {
  float: right;
  width: calc(100% - 70px);
  font-size: 12px;
  height: 100%;
  text-align: left;
  padding: 7px 10px;
}

/* Header Styles */
header {
		position: fixed;
		top: 0;
		left: 0;
		background-color: var(--white);
		box-shadow: var(--shadow);
		width: 100%;
		z-index: 1000;
}

.header-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px 0;
}

.logo {
		display: flex;
		align-items: center;
}

.logo-icon {
		font-size: 2.2rem;
		color: var(--red);
		margin-right: 10px;
}

.logo-text {
		font-family: 'Montserrat', sans-serif;
		font-weight: 700;
		font-size: 1.5rem;
		color: var(--dark-gray);
}

.logo-text span {
		color: var(--red);
}

.logo-link {
	text-decoration: none;
}

nav ul {
		display: flex;
		list-style: none;
}

nav ul li {
		margin: 0 15px;
}

nav ul li a {
		text-decoration: none;
		color: var(--gray);
		font-weight: 600;
		transition: var(--transition);
		position: relative;
		padding: 5px 0;
}

nav ul li a:hover {
		color: var(--red);
}

nav ul li a::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 0;
		height: 2px;
		background: var(--red);
		transition: var(--transition);
}

nav ul li a:hover::after {
		width: 100%;
}

.mobile-menu {
		display: none;
		font-size: 1.5rem;
		cursor: pointer;
}

.mobile-nav {
	display: none;
	position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
	background: var(--white);
}

.mobile-nav li {
	padding: 15px 10px;
}

.mobile-nav a {
	color: var(--dark-gray);
	font-weight: bold;
	font-size: 1em;
	text-decoration: none;
}

/* Hero Section */
.hero {
		padding: 150px 0 100px;
		background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
		position: relative;
		overflow: hidden;
}

.hero-content {
		display: flex;
		align-items: center;
		justify-content: space-between;
}

.hero-text {
		flex: 1;
		text-align: center;
}

.hero-text h1 {
		font-size: 3.5rem;
		margin-bottom: 20px;
		color: var(--dark-gray);
		line-height: 1.2;
}

.hero-text p {
		font-size: 1.2rem;
		margin: 30px auto;
		max-width: 600px;
		color: var(--gray);
}

.hero-image {
		flex: 1;
		text-align: center;
}

.hero-image img {
		max-width: 100%;
		border-radius: 10px;
		box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Features Section */
.section {
		padding: 100px 0;
}

.section-title {
		text-align: center;
		margin-bottom: 60px;
}

.section-title h2 {
		font-size: 2.5rem;
		color: var(--dark-gray);
		margin-bottom: 15px;
}

.section-title p {
		color: var(--gray);
		max-width: 700px;
		margin: 0 auto;
		font-size: 1.1rem;
}

.features {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 30px;
}

.feature-card {
		background: var(--white);
		border-radius: 10px;
		padding: 30px;
		box-shadow: var(--shadow);
		transition: var(--transition);
		text-align: center;
		border: 1px solid var(--light-gray);
}

.feature-card:hover {
		transform: translateY(-10px);
		box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
		font-size: 3rem;
		color: var(--red);
		margin-bottom: 20px;
}

.feature-card h3 {
		color: var(--dark-gray);
		margin-bottom: 15px;
}

.feature-card p {
		color: var(--gray);
}

/* Solutions Section */
.solutions {
		background: var(--light-gray);
}

.solution-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 30px;
}

.solution-card {
		background: var(--white);
		border-radius: 10px;
		overflow: hidden;
		box-shadow: var(--shadow);
		transition: var(--transition);
}

.solution-card:hover {
		transform: translateY(-10px);
		box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.solution-img {
		height: 200px;
		background: var(--red);
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--white);
		font-size: 4rem;
}

.solution-content {
		padding: 25px;
}

.solution-content h3 {
		color: var(--dark-gray);
		margin-bottom: 15px;
}

.solution-content p {
		color: var(--gray);
		margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
		background: var(--white);
}

.testimonial-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 30px;
}

.testimonial-card {
		background: var(--light-gray);
		border-radius: 10px;
		padding: 30px;
		box-shadow: var(--shadow);
		position: relative;
}

.testimonial-card::before {
		content: "";
		position: absolute;
		top: 20px;
		left: 20px;
		font-size: 5rem;
		color: var(--red);
		opacity: 0.2;
		font-family: Georgia, serif;
}

.testimonial-card .testimonial-text {
		margin-bottom: 20px;
}

.testimonial-author {
		display: flex;
		align-items: center;
}

.expand-testimonial {
	text-align: center;
	font-weight: bold;
	margin-top: 10px;
	color: var(--dark-gray);
}

.author-img {
		width: 50px;
		height: 50px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-right: 15px;
}

.author-img img {
	max-width: 100%;
	max-height: 100%;
}

.author-info h4 {
		margin-bottom: 5px;
}

.author-info p {
		font-size: 0.9rem;
		color: var(--gray);
}

/* CTA Section */
.cta {
		background: var(--dark-gray);
		color: var(--white);
		padding: 60px 0;
		text-align: center;
}

.cta h2 {
		margin-bottom: 20px;
		font-size: 2.5rem;
}

.cta p {
		max-width: 700px;
		margin: 0 auto 30px;
		font-size: 1.2rem;
}

/* Login Section */
.login-content {
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 0;
}

.alert {
	padding: 0.75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.25rem;
}

.login-content .form-group {
	margin-bottom: 20px;
}

.text-input {
	width: 100%;
	padding: 10px 15px;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.text-input:focus {
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.login-content .forgot-password-link {
	color: var(--dark-gray);
  text-decoration: none;
}

/* Subscription */
.subscription-form {
	max-width: 700px;
  margin: 0 auto;
}

/* Footer */
footer {
		background: var(--dark-gray);
		color: var(--light-gray);
		padding: 60px 0 30px;
}

.footer-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 30px;
		margin-bottom: 40px;
}

.footer-col h3 {
		color: var(--white);
		margin-bottom: 20px;
		font-size: 1.3rem;
}

.footer-col ul {
		list-style: none;
}

.footer-col ul li {
		margin-bottom: 10px;
}

.footer-col ul li a {
		color: var(--light-gray);
		text-decoration: none;
		transition: color 0.3s;
}

.footer-col ul li a:hover {
		color: var(--red);
}

.footer-col .logo-text {
		color: var(--light-gray);
		margin-bottom: 15px;
		font-size: 1.3rem;
}

.social-links {
		display: flex;
		gap: 15px;
		margin-top: 20px;
}

.social-links a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		color: var(--white);
		transition: all 0.3s;
}

.social-links a:hover {
		background: var(--red);
		transform: translateY(-3px);
}

.copyright {
		text-align: center;
		padding-top: 30px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		color: rgba(255, 255, 255, 0.7);
}

/* Security Page */
.security-row {
	display: flex;
	flex-wrap: wrap;
}

.security-title, .security-info {
	width: 50%;
	float: left;
	padding: 0 15px;
}

.security-logo {
	height: 200px;
}

.security-info > iframe {
	width: 100%;
  height: 500px;
  border: 0;
  outline: 0;
  margin: 0;
  padding: 0;
}

/* Contact */
.contact-info-title {
	color: var(--red);
}

.contact-info {
	margin-top: 15px;
}

.state-select {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.state-select:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Email Subscription */
/* Unsubscribe Panel Container */
.unsub-panel {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fafafa;
}

/* Panel Title */
.unsub-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Unsubscribe Options Container */
.unsub-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Option */
.unsub-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.unsub-opt:hover {
    border-color: #007cba;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Toggle Checkbox Container */
.unsub-opt-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.unsub-opt-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #007cba;
}

/* Option Information */
.unsub-opt-info {
    flex: 1;
}

.unsub-opt-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.unsub-opt-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

/* Checked State */
.unsub-opt input[type="checkbox"]:checked + .unsub-opt-info .unsub-opt-title {
    color: #333;
    text-decoration: line-through;
}

/* Responsive Design */
@media (max-width: 768px) {
    .unsub-panel {
        padding: 12px;
    }

    .unsub-opt {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .unsub-opt-toggle {
        margin-top: 0;
    }

    .unsub-opt-title {
        font-size: 13px;
    }

    .unsub-opt-desc {
        font-size: 12px;
    }
}

/* Focus states for accessibility */
.unsub-opt-toggle input[type="checkbox"]:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Disabled state */
.unsub-opt input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* News Section */
.news {
		background-color: var(--light-bg);
		padding: 60px 0;
}

.news-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 30px;
		margin-top: 20px;
}

.news-card {
		background: var(--white);
		border-radius: 8px;
		padding: 25px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
		transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.news-card h3 {
		color: var(--dark);
		font-size: 1.4rem;
		margin-bottom: 15px;
}

.news-card p {
		color: var(--gray);
		line-height: 1.6;
		margin-bottom: 20px;
}

.news-card .btn-small {
		display: inline-block;
		padding: 8px 16px;
		background-color: var(--red);
		color: var(--white);
		text-decoration: none;
		border-radius: 4px;
		font-size: 0.9rem;
		transition: background-color 0.3s;
}

.news-card .btn-small:hover {
		background-color: #c00;
}

  /*
  * EULA
  */

 .eula-content {
     font-family: Arial, sans-serif;
     line-height: 1.6;
     color: #333;
 }

 .eula-content h3 {
     color: #003F87;
     border-bottom: 1px solid #003F87;
     padding-bottom: 5px;
     margin-top: 20px;
 }

 .eula-content p {
     margin: 10px 0;
 }

 .eula-content ol {
     margin: 10px 0 20px 0px;
     padding: 0;
		 list-style: none;
 }

 .eula-content li {
     margin: 8px 0;
     padding: 2px 0;
 }

 .eula-content strong {
     font-weight: bold;
     color: #000;
 }

 .eula-content a {
     color: #003F87;
     text-decoration: none;
 }

 .eula-content a:hover {
     text-decoration: underline;
 }

 .eula-content h2 {
     color: #003F87;
     text-align: center;
     margin-bottom: 20px;
     padding-bottom: 10px;
     border-bottom: 2px solid #003F87;
 }

/* Responsive adjustments */
@media (max-width: 1000px) {
		.hero-text h1 {
				font-size: 2.5rem;
		}

		.cta h2 {
				font-size: 2rem;
		}

		.section-title h2 {
				font-size: 2rem;
		}

		.hero-image {
			display: none;
		}

		.security-title, .security-info {
			width: 100%;
		}

		.desktop-menu {
			display: none;
		}

		.mobile-menu {
			display: block;
		}
}
