@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,600,500,700,800,200);

html, html a {
    -webkit-font-smoothing: antialiased;
}

::selection {
	background: none repeat scroll 0 0 #393939;
	color: #fff;
}

::-moz-selection {
background:none repeat scroll 0 0 #393939;
color:#fff;
}
/*
 * 1.1 -> Typography
 * -----------------------------------------------
*/
* {
	box-sizing: border-box;
}

body {
	font-family:'Open Sans', sans-serif;
	color: #717171;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}
h5,h6,p {
	font-family:'Open Sans', sans-serif;
}
h1,h2,h3,h4 {
	font-family: 'Raleway', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
	color: #333;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
	color: #fff;
}

/* Headings */
h1 {
	font-size: 38px;
	font-weight: 600;
	line-height: 1.1;
	margin-bottom: 10px;
}
h2 {
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 10px;
}
h3 {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 10px;
}
h4 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	margin-bottom: 10px;
}
h5 {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
	margin-bottom: 10px;
}
h6 {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 5px;
}
p {
	color: #959595;
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 5px;
}
a {
	color: #333;
	text-decoration: none;
}
a:focus,
a:hover,
a:active {
	color: #777;
	text-decoration: none;
	outline: none;
}
.download-intro ul {
	list-style: disc;
	padding-left: 20px;
	max-width: 540px;
	text-align: left;
	margin: 10px auto 20px;
}
.download-intro ul li {
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 10px;
}
/*
 * 1.2 -> Buttons
 * -----------------------------------------------
*/
.btn {
	-webkit-transition: all 0.15s ease-in-out 0s;
	-o-transition: all 0.15s ease-in-out 0s;
	transition: all 0.15s ease-in-out 0s;
}
.btn:hover,
.btn:focus,
.btn.focus {
	color: #777;
}
.btn:active,
.btn.active {
	box-shadow: none;
}
button.btn {
	color: #111;
}
button.btn:hover,
button.btn:focus,
button.btn.focus {
	color: #777;
}
/* button default */
.btn-default {
	background: none;
	/*border: 1px solid #111;*/
}
.btn-default:hover {
	background-color: #393939;
	border: 1px solid #393939;
	color: #fff;
}
.btn-default,
.btn-colored {
	border-radius: 4px;
	font-size: 13px;
	font-weight: 400;
	margin-right: 2px;
	margin-top: 15px;
    padding: 10px 30px;
}
/* button colored */
.btn-colored,
button.btn-colored {
	background-color: #393939;
	color: #fff;
}
.btn-colored:hover {
	background-color: rgba(34,34,34,0.8);
	color: #fff;
}
.btn-colored:hover,
button.btn-colored,
button.btn-colored:hover,
button.btn-colored:focus,
button.btn-colored.focus {
	color: #fff;
}
.btn-default:active,
.btn-default:focus {
	background-color: transparent;
}
/* button white */
.btn-colored.btn-white {
	background: #fff!important;
	color: #333!important;
}
.btn-colored.btn-white:hover {
	background: #333 !important;
	color: #fff!important;
}
.btn-default.btn-white {
	border: 1px solid #fff!important;
	color: #fff!important;
}
.btn-default.btn-white:hover {
	border: 1px solid #393939!important;
}
/* button dark */
.btn-colored.btn-dark {
	background: #333!important;
	color: #fff!important;
}
.btn-colored.btn-dark:hover {
	background: #777!important;
	color: #fff!important;
}
.btn-default.btn-dark {
	border: 1px solid #333!important;
	color: #333!important;
}
.btn-default.btn-dark:hover {
	border: 1px solid #393939!important;
}
/* button blue */
.btn-colored.btn-blue {
	background: #00A3C8!important;
	color: #fff!important;
}
.btn-colored.btn-blue:hover {
	background: #333 !important;
	color: #fff !important;
}
.btn-default.btn-blue {
	border: 1px solid #00A3C8!important;
	color: #00A3C8!important;
}
.btn-default.btn-blue:hover {
	background: #333;
	border: 1px solid #333!important;
	color: #fff!important;
}
/* button gray */
.btn-colored.btn-gray {
	background: #f2f2f2!important;
	color: #333!important;
}
.btn-colored.btn-gray:hover {
	background: #f2f2f2 !important;
	color: #333 !important;
}
.btn-default.btn-gray {
	border: 1px solid #f2f2f2!important;
	color: #333!important;
}
.btn-default.btn-gray:hover {
	border: 1px solid #333!important;
}
/* button rounded */
.btn.btn-rounded {
	border-radius: 20px;
}
.btn-default.btn-rounded {
	border-radius: 20px;
}
.btn-colored.btn-rounded {
	border-radius: 20px;
}
/* button rounded large */
.btn.btn-rounded-lg {
	border-radius: 20px;
	padding-left: 30px;
	padding-right: 30px;
}
.btn-default.btn-rounded-lg {
	border-radius: 20px;
	padding-left: 30px;
	padding-right: 30px;
}
.btn-colored.btn-rounded-lg {
	border-radius: 20px;
	padding-left: 30px;
	padding-right: 30px;
}
/* button different sizes */
.btn-lg {
	font-size: 16px;
	padding: 10px 16px;
}
.btn-xs {
	font-size: 10px;
	padding: 5px 8px;
}
.btn-sm {
	font-size: 12px;
	padding: 8px 12px !important;
}

.font-raleway {
	font-family: 'Raleway', sans-serif;
	font-weight: 100;
}

/* Enhanced Color Palette from Logo */
:root {
    --primary-blue: #02709d;
    --teal: #00BCD4;
    --coral: #FF6B4A;
    --navy: #1a5f7a;
    --light-teal: #E0F7FA;
    --light-coral: #FFE8E3;
    --grey: #4a4a4a;
    --light-grey: #f8fbfd;
}

/* Hero Section - Enhanced */
.jh-hero-section {
    background:
        linear-gradient(135deg, rgba(224, 247, 250, 0.95) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(250, 235, 227, 0.95) 100%),
        url('../images/cromwell.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px 20px 100px;
    padding-top: 0 !important;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

/* Decorative Cross/Plus Elements */
.jh-hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--teal) 0%, transparent 100%);
    opacity: 0.12;
    clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0% 60%, 0% 40%, 40% 40%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.jh-hero-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--coral) 0%, transparent 100%);
    opacity: 0.1;
    clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0% 60%, 0% 40%, 40% 40%);
    animation: float 25s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(15deg); }
    66% { transform: translate(-20px, 20px) rotate(-15deg); }
}

.jh-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Logo Display */
.hero-logo-container {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-logo {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 6px 25px rgba(0,0,0,0.2));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.jh-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.jh-hero-title span {
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jh-hero-subtitle {
    font-size: 22px;
    color: var(--grey);
    max-width: 800px;
    margin: 0 0 20px;
    line-height: 1.7;
    font-weight: 500;
}

.jh-hero-description {
    font-size: 18px;
    color: #333333;
    max-width: 750px;
    margin: 0 0 50px;
    line-height: 1.8;
}

/* Accreditation Badge */
.accreditation-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 188, 212, 0.4);
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accreditation-badge svg {
    width: 24px;
    height: 24px;
    fill: var(--teal);
}

/* Enhanced Trust Signals */
.jh-trust-signals {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
}

.jh-trust-signals li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    color: #333;
    font-weight: 600;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.jh-trust-signals li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--coral));
}

.jh-trust-signals li:hover {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.2);
    transform: translateY(-6px);
    border-color: var(--teal);
}

.jh-trust-signals li:hover::before {
    width: 100%;
    opacity: 0.05;
}

.jh-trust-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jh-trust-icon svg {
    width: 100%;
    height: 100%;
}

/* Enhanced CTA Buttons */
.jh-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.jh-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 45px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary-blue) 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(0, 188, 212, 0.35);
    position: relative;
    overflow: hidden;
}

.jh-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.jh-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.jh-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 188, 212, 0.45);
    color: #ffffff;
}

.jh-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 45px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.jh-btn-secondary:hover {
    background: #e6f4f9;
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.15);
}

/* Enhanced Location Info */
.jh-provider-info {
    display: flex;
    gap: 32px;
    padding: 40px 0 0;
    border-top: 2px solid rgba(0, 188, 212, 0.2);
    max-width: 800px;
    margin: 0;
}

.jh-location-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.jh-location-text strong {
    color: var(--primary-blue);
    display: block;
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 700;
}

/* Enhanced Trust Section */
.trust-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-grey) 100%);
    padding: 120px 20px;
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--teal);
    opacity: 0.03;
    clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0% 60%, 0% 40%, 40% 40%);
}

.trust-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Family Welcome Illustration */
.family-welcome-image {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

.family-illustration {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.08));
    border-radius: 16px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Facility Photo Gallery */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 0 0 80px;
}

.facility-photo-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.facility-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 188, 212, 0.2);
    border-color: var(--teal);
}

.facility-photo {
    width: 100%;
    height: 320px;
    object-fit: contain;
    display: block;
}

.facility-photo-caption {
    padding: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    background: linear-gradient(180deg, #ffffff 0%, var(--light-teal) 100%);
}

.section-heading {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.trust-intro {
    font-size: 19px;
    color: #555;
    margin-bottom: 60px;
    line-height: 1.8;
    max-width: 800px;
}

.trust-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.trust-value {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.trust-value:nth-child(1) { border-top-color: var(--teal); }
.trust-value:nth-child(2) { border-top-color: var(--coral); }
.trust-value:nth-child(3) { border-top-color: var(--primary-blue); }

.trust-value:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 188, 212, 0.15);
}

.value-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(2, 112, 157, 0.1));
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
}

.value-icon svg {
    width: 48px;
    height: 48px;
}

.value-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.value-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Enhanced Owner Cards */
.owners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 800px;
    margin: 0;
}

.owner-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.owner-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.2);
    border-color: var(--teal);
}

.owner-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.owner-info {
    padding: 28px;
    text-align: center;
    height: 160px;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-teal) 100%);
}

.owner-names {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.owner-title {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Enhanced Services Section */
.services-overview {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--light-grey) 0%, #ffffff 50%, var(--light-coral) 100%);
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.service-category-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--teal);
    position: relative;
    overflow: hidden;
}

.service-category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    opacity: 0.05;
    clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0% 60%, 0% 40%, 40% 40%);
    transition: all 0.6s ease;
}

.service-category-card:hover::before {
    top: -20%;
    right: -20%;
    transform: rotate(45deg);
}

.service-category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(0, 188, 212, 0.2);
    border-left-width: 8px;
}

.service-category-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(255, 107, 74, 0.15));
    border-radius: 16px;
}

.service-category-icon svg {
    width: 48px;
    height: 48px;
}

.service-category-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category-card li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    border-bottom: 1px solid rgba(0, 188, 212, 0.1);
}

.service-category-card li:last-child {
    border-bottom: none;
}

.service-category-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
    font-size: 18px;
}

/* Enhanced View All Button */
.view-all-services {
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--coral), #ff8a6a);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(255, 107, 74, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(255, 107, 74, 0.4);
    color: #ffffff;
}

.detailed-services {
    max-width: 1000px;
    margin: 60px 0 0;
    display: none;
}

.detailed-services.active {
    display: block;
}

.service-accordion-header {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--teal);
}

.service-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
    list-style: none;
}

.service-detail-list li {
    padding: 16px;
    padding-left: 40px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05), rgba(255, 107, 74, 0.05));
    border-radius: 12px;
    border-left: 3px solid var(--teal);
    transition: all 0.3s ease;
}

.service-detail-list li:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.15);
    transform: translateX(5px);
}

.service-detail-list li:before {
    content: "→";
    position: absolute;
    left: 16px;
    color: var(--coral);
    font-weight: bold;
    font-size: 18px;
}

/* Fee Section Background */
.fees-section-bg {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-grey) 100%);
}

/* Fee Tabs Container */
.fee-tabs-wrapper {
    margin-bottom: 50px;
}

.fee-tabs-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px;
}

/* Fee Tab Buttons - Enhanced */
.fee-tab-btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    color: #777;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fee-tab-btn:hover {
    color: var(--teal);
    background: rgba(0, 188, 212, 0.1);
    border-color: var(--teal);
}

.fee-tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    border-color: transparent;
    border: none;
}

/* Fee Content Card */
.fee-card {
    max-width: 750px;
    margin: 0;
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.fee-card.border-teal {
    border-top: 5px solid var(--teal);
}

.fee-card.border-coral {
    border-top: 5px solid var(--coral);
}

.fee-card.border-blue {
    border-top: 5px solid var(--primary-blue);
}

.fee-card.centered {
    text-align: center;
}

/* Fee Card Headings */
.fee-card-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
}

.fee-card-title.coral {
    background: linear-gradient(135deg, var(--coral), #ff8a6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fee Sections */
.fee-section {
    margin-bottom: 40px;
}

.fee-section-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-teal);
}

/* Fee Tables */
.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table tr {
    border-bottom: 2px solid #f0f0f0;
}

.fee-table tr:last-child {
    border-bottom: none;
}

.fee-table td {
    padding: 16px 0;
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

.fee-table .fee-amount {
    font-size: 20px;
    font-weight: 800;
    text-align: right;
}

.fee-table .fee-amount.free {
    color: #008ba3;
}

.fee-table .fee-amount.standard {
    color: var(--primary-blue);
}

/* Fee Note Box */
.fee-note {
    background: linear-gradient(135deg, var(--light-teal), var(--light-coral));
    padding: 25px;
    border-radius: 16px;
    border-left: 5px solid var(--teal);
}

.fee-note p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

.fee-note p:first-child {
    margin-bottom: 12px;
    font-weight: 600;
}

/* Large Icon */
.large-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

.large-icon svg {
    width: 64px;
    height: 64px;
}

/* Fee Description Text */
.fee-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

.fee-description.secondary {
    font-size: 17px;
    color: #333;
}

/* Enrollment Benefits */
.enrollment-header {
    text-align: center;
    margin-bottom: 40px;
}

.benefits-list {
    margin-bottom: 40px;
}

.benefit-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.08), rgba(255, 107, 74, 0.08));
    border-radius: 14px;
    margin-bottom: 16px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item.teal {
    border-left: 5px solid var(--teal);
}

.benefit-item.coral {
    border-left: 5px solid var(--coral);
}

.benefit-item.blue {
    border-left: 5px solid var(--primary-blue);
}

.benefit-item strong {
    font-size: 17px;
}

.benefit-item.teal strong {
    color: var(--teal);
}

.benefit-item.coral strong {
    color: var(--coral);
}

.benefit-item.blue strong {
    color: var(--primary-blue);
}

.benefit-item span {
    color: #555;
    font-size: 16px;
}

/* Enrollment CTA */
.enrollment-cta {
    text-align: center;
}

.enrollment-cta p {
    font-size: 17px;
    color: #333;
    margin-bottom: 28px;
    font-weight: 600;
}

.enrollment-cta .jh-btn-primary {
    display: inline-flex;
    margin-bottom: 20px;
}

.enrollment-cta .email-text {
    font-size: 16px;
    color: #5a5a5a;
    margin-top: 20px;
}

.enrollment-cta .email-text a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 700;
}

/* Enrollment Note */
.enrollment-note {
    background: linear-gradient(135deg, var(--light-teal), var(--light-coral));
    padding: 28px;
    border-radius: 16px;
    border: 3px solid var(--coral);
}

.enrollment-note p {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Digital Health Portal Card */
.digital-health-wrapper {
    max-width: 850px;
    margin: 0;
}

.portal-card {
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary-blue) 100%);
    border-radius: 24px;
    padding: 60px 50px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0% 60%, 0% 40%, 40% 40%);
}

.portal-card .large-icon {
    margin-bottom: 24px;
    width: 270px;
    height: 120px;
    max-width: 100%;
}

.portal-card .large-icon svg {
    width: 100%;
    height: 100%;
}

.portal-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.portal-card p {
    font-size: 19px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    font-size: 19px;
    font-weight: 700;
    color: var(--teal);
    background: white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.portal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    color: var(--teal);
}

/* Teal Links */
.teal-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.teal-link:hover {
    text-decoration: underline;
}

.teal-link.bold {
    font-weight: 700;
}

/* Services Call-Out Box */
.services-callout {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary-blue) 100%);
    border-radius: 20px;
    margin-top: 50px;
    color: white;
}

.services-callout p {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    color: white;
}

/* Emergency Note */
.emergency-note {
    font-size: 14px;
    color: #5a5a5a;
    font-weight: 600;
}

/* Fee Content Hidden State */
.fee-content {
    display: none;
}

.fee-content.active {
    display: block;
}

/* ============================================
    Floating Navigation
    ============================================ */
.floating-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    padding: 16px 12px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.floating-nav-item {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    color: var(--teal);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 64px;
}

.floating-nav-item svg {
    width: 22px;
    height: 22px;
    color: var(--teal);
    transition: transform 0.2s ease;
}

.floating-nav-item:hover {
    background: rgba(0, 188, 212, 0.08);
    color: var(--primary-blue);
}

.floating-nav-item:hover svg {
    transform: scale(1.1);
    color: var(--primary-blue);
}

.floating-nav-item.active {
    background: rgba(0, 188, 212, 0.12);
    color: var(--primary-blue);
}

.floating-nav-item.active svg {
    color: var(--primary-blue);
}

.floating-nav-item:first-child {
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary-blue) 100%);
    color: #ffffff;
    margin-bottom: 8px;
}

.floating-nav-item:first-child svg {
    color: #ffffff;
}

.floating-nav-item:first-child:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--navy) 100%);
    transform: scale(1.05);
}

.floating-nav-item:first-child.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--navy) 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .floating-nav {
        right: 16px;
        padding: 12px 8px;
    }

    .floating-nav-item {
        padding: 10px 8px;
        min-width: 56px;
        font-size: 11px;
    }

    .floating-nav-item svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .jh-hero-section {
        background-attachment: scroll;
    }

    .floating-nav {
        right: 12px;
        padding: 10px 8px;
        gap: 6px;
    }

    .floating-nav-item {
        padding: 10px 8px;
        min-width: 56px;
        font-size: 11px;
        gap: 4px;
    }

    .floating-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .floating-nav-item:first-child {
        margin-bottom: 6px;
    }

    .jh-hero-title {
        font-size: 38px;
    }

    .jh-hero-subtitle {
        font-size: 19px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .family-illustration {
        max-width: 600px;
        padding: 15px;
    }

    .facility-gallery {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .facility-photo {
        height: 280px;
    }

    .jh-trust-signals {
        grid-template-columns: 1fr;
    }

    .jh-cta-buttons {
        flex-direction: column;
    }

    .jh-btn-primary,
    .jh-btn-secondary {
        width: 100%;
    }

    .trust-values {
        grid-template-columns: 1fr;
    }

    .owners-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .service-detail-list {
        grid-template-columns: 1fr;
    }

    .fee-tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-heading {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        right: 8px;
        padding: 8px 6px;
        gap: 4px;
        bottom: 10px;
        top: unset;
        flex-direction: row;
        transform: none;
    }

    .floating-nav-item {
        padding: 8px 6px;
        min-width: 50px;
        font-size: 10px;
        gap: 3px;
    }

    .floating-nav-item svg {
        width: 16px;
        height: 16px;
    }

    .floating-nav-item:first-child {
        margin-bottom: 0;
    }

    .jh-hero-title {
        font-size: 32px;
    }

    .section-heading {
        font-size: 28px;
    }

    .hero-logo {
        max-width: 240px;
    }

    .family-illustration {
        max-width: 100%;
        transform: scale(1.5);
        padding: 10px;
    }

    .family-welcome-image {
        margin-bottom: 30px;
        overflow: hidden;
    }

    .facility-gallery {
        gap: 20px;
        margin-bottom: 40px;
    }

    .facility-photo {
        height: 240px;
    }

    .facility-photo-caption {
        padding: 15px;
        font-size: 14px;
    }

    .jh-provider-info {
        justify-content: center;
    }
}

/* Contact Section Accessibility Improvements */
.contact-info {
    color: #333;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--primary-blue);
}

.contact-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
}

.contact-value {
    color: #333;
    font-weight: 500;
}

.contact-value a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}
