/**
 *					CUSTOM CSS
 * @author			Michigan Caregiver Partners LLC
 * @copyright		2026 Michigan Caregiver Partners 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;
}


/* ----- fonts -------------------------------------------------------- */
/* <weight>: Use a value from 200 to 800 | <uniquifier>: Use a unique and descriptive class name */
.atkinson-hyperlegible-next-hero {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 2.25rem;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}
.atkinson-hyperlegible-next-36 {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 2.25rem;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.atkinson-hyperlegible-next-24 {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 1.5rem;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
}
.atkinson-hyperlegible-next-20 {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 1.25rem;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.baskervville-i36 {
  font-family: "Baskervville", serif;
  font-size: 2.25rem;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
}
/* <weight>: Use a value from 400 to 700 | <uniquifier>: Use a unique and descriptive class name */
.baskervville-i28 {
	font-family: "Baskervville", serif;
	font-size: 1.75rem;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: italic;
}
/* <weight>: Use a value from 400 to 700 | <uniquifier>: Use a unique and descriptive class name */
.baskervville-i20 {
	font-family: "Baskervville", serif;
	font-size: 1.25rem;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: italic;
}
/* <weight>: Use a value from 400 to 700 | <uniquifier>: Use a unique and descriptive class name */
.baskervville-16 {
	font-family: "Baskervville", serif;
	font-size: 1rem;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}



/* ----- 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 #fff;
}
.nav-links a:hover {
	border-bottom: 6px solid #52917b;
}
.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;}
.pad32{padding:2rem;}
.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 #52917b; padding:24px 5%; }
.textBold {font-weight:700;}
/* Legally compliant CSS for hiding text safely */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.footer {
    background: #121212;
    color: white;
    padding: 2rem 0;
    width: 100%;
	text-align:center;
}


/* --- colors --------------------------------------------------------- */
.lightBeigeBG {background-color: #ffefd8;}
.ltGreenBG {background-color:#eef7e8;color:#112A46;}
.greenText {color:#52917b;}
.grayText {color:#616161;}
.redText {color:#ea4335;}


/* ----- Flex Container ----------------------------------------------- */
/* Container to hold the image and text columns */
.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: 500;
}
.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 {
	display: inline-block;
  background-color: #0066cc;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
}
.btn01:hover, .btn01:focus {background-color: #0052a3;}


/* ===== 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: #fff;
}
/* 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: #fff;
	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;
}

/*==============================================================================================*/
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Container Styling */
.mcp-services-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 800px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Base Item Styling */
.mcp-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Hide native radio input */
.mcp-accordion-input {
  display: none;
}

/* Header Layout Alignment */
.mcp-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a202c;
  cursor: pointer;
  background-color: #f8fafc;
  transition: background-color 0.25s ease;
  user-select: none;
}

.mcp-accordion-header:hover {
  background-color: #f1f5f9;
}

/* Grouping Icon + Text */
.mcp-header-title {
  display: flex;
  align-items: center;
  gap: 14px; /* Space between the icon and text */
}

/* Service SVG Icon Design */
.mcp-service-icon {
  width: 24px;
  height: 24px;
  color: #0066cc; /* Matches brand button color */
  flex-shrink: 0;
}

/* Plus/Minus Indicator */
.mcp-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.mcp-icon::before, .mcp-icon::after {
  content: "";
  position: absolute;
  background-color: #4a5568;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.mcp-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}
.mcp-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

/* Content Container - Smooth Transition */
.mcp-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

/* Inner Text Elements */
.mcp-summary {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.mcp-list {
  margin: 0 0 24px 0;
  padding-left: 20px;
}
.mcp-list li {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Open State configuration */
.mcp-accordion-input:checked ~ .mcp-accordion-content {
  max-height: 400px; 
  padding: 20px 24px 24px 24px;
}

/* Active header state color tweak */
.mcp-accordion-input:checked ~ .mcp-accordion-header {
  background-color: #f1f5f9;
}

/* Icon Animations */
.mcp-accordion-input:checked ~ .mcp-accordion-header .mcp-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.mcp-accordion-input:checked ~ .mcp-accordion-header .mcp-icon::before {
  transform: rotate(180deg);
}

/* Button Call-to-Action Styling */
.mcp-cta-btn {
  display: inline-block;
  background-color: #0066cc;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.mcp-cta-btn:hover {
  background-color: #0052a3;
}

.mcp-cta-btn:active {
  transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .mcp-accordion-header {
    padding: 16px;
    font-size: 1rem;
  }
  .mcp-header-title {
    gap: 10px;
  }
  .mcp-service-icon {
    width: 20px;
    height: 20px;
  }
  .mcp-accordion-input:checked ~ .mcp-accordion-content {
    padding: 16px;
    max-height: 520px;
  }
  .mcp-cta-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}


/* ----- email form --------------------------------------------------- */
.email-form-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}
.input-group {
    margin-top: 12px;
}
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}
.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #4285F4; /* Google Blue */
}
.response-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.response-msg.success {
    color: #0F9D58; /* Google Green */
}

.response-msg.error {
    color: #DB4437; /* Google Red */
}









/* ===== 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;

	}
	.nav-links {
		position: fixed;
		top: 0;
		right: 0; /* Align to right side */
		width: 280px;
		height: 100vh;
		background: #ffefd8;
		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;}
	/* 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;
	}
	.heroText {
		font-size: 1.33rem;
		height: 200px;
	}
	.atkinson-hyperlegible-next-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);}
}


