/**
 *					CUSTOM CSS
 * @author			FREE PAID CARE, LLC
 * @copyright		2026 FREE PAID CARE, LLC
 * @license			none, all rights reserved
 */

html {
  font-size: 100%; /* Ensures 1rem defaults to the user's browser setting, typically 16px */
}

body {
	margin: 0;
	padding-top: 90px;  /* Matches the navbar height */
	font-family: "Atkinson Hyperlegible Next", sans-serif;
	font-size: 1rem; /* Dynamically matches the root font size */
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	background:#fff;
	line-height: 1.6;
}
/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ----- Roboto font -------------------------------------------------- */
.roboto-96 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 6rem;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.roboto-64 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 4rem;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.roboto-36 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 2.25rem;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.roboto-24 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}


/* ----- navbar ------------------------------------------------------- */
.navbar {
	position: fixed; 
	top: 0; 
	left: 50%; /* 1. Move the left edge to the exact center of the screen */
	transform: translateX(-50%); /* 2. Shift the navbar back by half of its own width */
	z-index: 1000; 
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	padding: 1rem 5%; 
	width: 100%; 
	max-width: 1440px; 
	/* margin: 0 auto; -> No longer needed for fixed elements */
	background-color: #fff; 
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
	text-decoration: none;
	color: #121212;
	font-weight: 700;
	padding:.5rem;
	font-size: 1.25rem;
	border-bottom: 6px solid #fffd07;
}
.nav-links a:hover {
	border-bottom: 6px solid #f53333;
}
.hamburger {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #121212;
  margin: 5px 0;
  transition: 0.3s;
}


/* ----- stop page scroll when slide in menu is active ---------------- */
html.scroll-lock,
body.scroll-lock {
  overflow: hidden;
  height: 100%;
}


/* ----- general ------------------------------------------------------ */
a {text-decoration:none;}
.top24{padding-top:24px;}
.top36{padding-top:36px;}
.top48{padding-top:48px;}
.left24{padding-left:24px;}

/* Boxes & Footer */
.fullContainer {position:fixed;top:0;z-index:1001;height:90px;width:100%;box-shadow: 0px 10px 24px 0px rgba(0,0,0,0.2);}
.textCenter {text-align:center;}
.textBox { border: 2px solid #f53333; padding:36px 5%; }
.footer {
    background: #121212;
    color: white;
    padding: 2rem 0;
    width: 100%;
	text-align:center;
}


/* ----- Flex Container ----------------------------------------------- */
/* Container to hold the image and text columns */
.containerCentered {
    display: flex; /* Aligns items horizontally */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
	max-width:1440px;
	margin: 0 auto;
    align-items: center; /* Vertically centers content */
	justify-content: center; /* Centers children horizontally */
}
.container {
    display: flex; /* Aligns items horizontally */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
	max-width:1440px;
	margin: 0 auto;
    align-items: center; /* Vertically centers content */
}
/* Base style for both columns */
.column {
    flex: 1; /* Both columns take equal width */
    padding: 20px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}
/* Image styling */
.column img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ----- form --------------------------------------------------------- */
.formHdr {text-align:center;}
.form-row {margin:1rem;}
.form-row02 {margin:1.625rem 1rem 1rem 1rem;}
.radio-row {
	display: flex; /* Arranges items in a row */
	flex-direction: row; /* Default, but explicit */
	gap: 8px; /* Adds space between the buttons */
	align-items: center; /* Vertically centers the radio button with the text */
}
label {
	display: flex;
	justify-content: flex-start; /* Moves items to the left */
	font-weight: 700;
}
.form-control {
	border: 1px solid #ccc;
	background-color:#fff;
	margin: 0 0 12px 0;
	border-radius: 4px;
	box-sizing: border-box;
}
.form-control:focus {box-shadow:none;}
.form-control {height:50px;padding:.75rem;}


/* ----- input style -------------------------------------------------- */
input[type=text], input[type=password], input[type=number],  input[type=email],  input[type=tel] {
	width: 100%;
	padding: 12px 20px;
	margin: 0 0 12px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box; /* Includes padding in width */
}
/* Changing border color when the field is clicked */
input[type=text]:focus {
	border: 2px solid #555;
	outline: none; /* Removes the default browser blue outline */
}


/* ----- buttons ------------------------------------------------------ */
.btn01, .btn01:visited {
	width:100%;
	font-size:1rem;
	font-weight:700;
	margin: 12px 0;
	padding:1rem 3rem;
	background:#121212;
	color:#fff;
	-webkit-transition-duration: 0.4s;
	transition-duration: 0.4s;
	cursor: pointer;
	border:1px solid #000;
	border-radius: 4px;
}
.btn01:hover, .btn01:focus {background:#0003f6;color:#fff;border:1px solid #000;}


/* --- colors --------------------------------------------------------- */
.redBG {background-color:#f53333;color:#fff;}
.orangeBG {background-color:#ff9900;color:#121212;}
.yellowBG {background-color:#fffd07;color:#121212;}
.greenBG {background-color:#00fe0e;color:#121212;}
.blueBG {background-color:#0003f6;color:#fff;}
.blueText {color:#0003f6;}
.redText {color:#f53333;}
.greenText {color:#00fe0e;}


/* ----- slide three words in from left ------------------------------- */
#word-container {
  display: flex;
  gap: 15px;
  overflow: hidden; /* Ensures words don't show before sliding in */
  margin: 2rem auto;
}

#word-container span {
  opacity: 0;
  transform: translateX(-150%);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /*font-size: 2rem;
  font-weight: bold;*/
}

#word-container.active span {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger the delays so they slide in one by one */
#word-container.active span:nth-child(1) { transition-delay: 0.1s; }
#word-container.active span:nth-child(2) { transition-delay: 0.4s; }
#word-container.active span:nth-child(3) { transition-delay: 0.7s; }


/* ----- sliding text over background image --------------------------- */
.heroText {
	display: flex;
	align-items: center; /* Vertically centers */
	color:#52917b;
}
.sliding-text {
    opacity: 0;
    transform: translateX(150px);
    animation: slideIn 1.5s forwards;
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ----- accordion ---------------------------------------------------- */
.accordion-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 800px; /* Optional constraint */
	margin: 0 auto;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	font-family: sans-serif;
}
/* Individual Items */
.accordion-item {
	width: 100%;
	border-bottom: 1px solid #e2e8f0;
}
.accordion-item:last-child {
	border-bottom: none;
}
/* Header Trigger Button */
.accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 18px 24px;
	/*background-color: #ffefd8;*/
	border: none;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	color: #1a202c;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.accordion-header:hover {
	background-color: #f7fafc;
}
/* Chevron Icon Animation */
.chevron {
	width: 24px;
	height: 24px;
	fill: #4a5568;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-header[aria-expanded="true"] .chevron {
	transform: rotate(180deg);
}
/* Content Panel Animation Core */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	background-color: #f8fafc;
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-header[aria-expanded="true"] + .accordion-content {
	/* Set to a value higher than your expected content height */
	max-height: 300px; 
}
/* Inner padding avoids jumpy animation bugs */
.content-inner {
	padding: 20px 24px;
	color: #4a5568;
	line-height: 1.6;
}


/* ----- media queries ------------------------------------------------ */
@media (max-width: 1100px) {
	.container {
		flex-direction: column;
	}
    .column {
        flex: 100%; /* Stacks columns on smaller screens */
    }
	.heroText {
		font-size: 1.33rem;
		height: 200px;
	}
	.baskervville-i36 { font-size:1.5rem; }
	.atkinson-hyperlegible-next-24 { font-size: 1.25rem; }
	/* ----- mobile menu ----- */
	.hamburger {
		display: block; /* Show hamburger */
		z-index: 1001;

	}
	.hamburger.active span{ background: #fff; }
	.nav-links {
		position: fixed;
		top: 0;
		right: 0; /* Align to right side */
		width: 280px;
		height: 100vh;
		background: #121212;
		flex-direction: column;
		padding-top: 80px;
		box-shadow: -5px 0 15px rgba(0,0,0,0.1);
		/* THE SLIDE LOGIC */
		visibility: hidden;      /* Prevents phantom clicks when hidden */
		transform: translateX(100%); /* Pushes it fully off-screen to the right */
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
		z-index: 1000;
		margin: 0 0 0 2rem;
	}
	.nav-links li {padding-left:2rem;}
	.nav-links li a {border:none;color: #fff;}
	.nav-links a:hover { color: #f53333;border:1px solid #f53333;
}
	/* Triggered by JS */
	.nav-links.active {
		visibility: visible;
		transform: translateX(0); /* Slides in from right to left */
	}
	/* Hamburger to X Animation */
	.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.hamburger.active span:nth-child(2) { opacity: 0; }
	.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}


/* ----- Mobile styles under 768px wide ------------------------------- */
@media (max-width: 768px) {
.container {
		flex-direction: column;
	}
    .column {
        flex: 100%; /* Stacks columns on smaller screens */
    }
	.heroText {
		font-size: 1.33rem;
		height: 200px;
	}
	.roboto-36 { 
		font-family: "Atkinson Hyperlegible Next", sans-serif;
		font-size: 1.5rem;
		font-optical-sizing: auto;
		font-weight: 600;
		font-style: normal;
	}
	.fullContainer {position:fixed;top:0;z-index:1001;height:70px;width:100%;box-shadow: 0px 10px 24px 0px rgba(0,0,0,0.2);}
}


