/* Universal Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark-green: #193B19;
    --color-dark-gray: #222222;
    --color-orange: #C55000;
    --color-white: #ffffff;
    --color-red: #dc3545;
    --color-blue: #0066cc;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-dark-gray);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    background-color: var(--color-dark-gray);
    flex: 1;
    padding-top: 88px;
}

/* Remove padding-top for home page with hero section */
main:has(.hero) {
    padding-top: 0;
}

main:has(.service-hero) {
    padding-top: 0;
}

main:has(.podcast-hero) {
    padding-top: 0;
}

main:has(.blog-hero) {
    padding-top: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7px 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
}

.logo-svg {
    height: 62.5px;
    width: auto;
    max-width: 300px;
    fill: var(--color-dark-gray);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 0 0 auto;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark-gray);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-orange);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-link-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    min-width: 250px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

.dropdown-item.disabled {
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    pointer-events: none;
}

.dropdown-item:not(.disabled):hover {
    color: var(--color-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 0;
}

.header-actions .btn-outline {
    color: var(--color-dark-gray) !important;
}

.header-actions .btn-outline:hover {
    color: var(--color-white) !important;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-dark-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header:has(.mobile-menu.active) .mobile-menu-toggle {
    display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark-gray);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-dark-gray);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

.mobile-menu .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-orange);
}

.mobile-menu .nav-dropdown {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .nav-link-dropdown {
    position: relative;
    padding-right: 3rem;
}

.mobile-menu .nav-link-dropdown::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    transition: transform 0.3s ease;
}

.mobile-menu .nav-dropdown.active .nav-link-dropdown::after {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(0, 0, 0, 0.02);
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
}

.mobile-menu .dropdown-item {
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    color: var(--color-dark-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-orange);
}

/* Button Styles */
.btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

/* Ensure anchor tags with btn class look like buttons */
a.btn {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    border: 1px solid var(--color-dark-gray);
}

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

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #a04000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(197, 80, 0, 0.3);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    margin-top: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 80px;
    overflow: hidden;
    padding: 0;
}

/* Ken Burns Animation Keyframes - Cinematic pan and zoom */
@keyframes kenBurns {
    0% {
        transform: scale(1);
        background-position: 50% 50%;
    }
    100% {
        transform: scale(1.075);
        background-position: 55% 50%;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-gray);
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: kenBurns 14s ease-in-out 1 forwards;
    will-change: transform;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.2), rgba(34, 34, 34, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 4rem 2rem;
    margin-left: 5%;
    text-align: left;
    color: var(--color-white);
}

.hero-headline {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    opacity: 0.95;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    opacity: 0.95;
    max-width: 700px;
}

/* What We Do Section */
.what-we-do-section {
    padding: 5rem 2rem;
    background-color: var(--color-dark-gray);
    width: 100%;
}

.what-we-do-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.what-we-do-left {
    display: flex;
    flex-direction: column;
}

.what-we-do-label {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.what-we-do-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.what-we-do-tagline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.what-we-do-highlight {
    color: var(--color-orange);
}

.what-we-do-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.what-we-do-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.95;
}

.btn-talk {
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.btn-talk:hover {
    background-color: #a04500;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background-color: #2a2a2a;
    width: 100%;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.95;
}

.contact-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.contact-highlight {
    color: var(--color-orange);
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.95;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
}

.form-input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Footer Styles */
.footer {
    position: relative;
    background-color: var(--color-dark-gray);
    padding: 3rem 2rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

/* Contact Column */
.footer-contact-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-contact-item strong {
    color: var(--color-white);
    font-weight: 600;
}

.footer-social-placeholder {
    margin-top: 1rem;
    min-height: 30px;
}

/* Quick Links Column */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

/* Disclaimers Column */
.footer-disclaimer-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Footer Links */
.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-orange);
}

/* BrokerCheck Widget */
.brokercheck-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    transition: transform 0.3s ease;
}

.brokercheck-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brokercheck-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.brokercheck-image {
    max-width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Ensure all text on dark background is visible */
.page-content {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    position: relative;
    z-index: 10;
}


/* Universal Hover Scale Effect */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.1);
}

.team-member-image.hover-scale:hover {
    transform: none;
    filter: brightness(0.85);
}

/* Universal Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.05s;
}

.stagger-delay-2 {
    transition-delay: 0.1s;
}

.stagger-delay-3 {
    transition-delay: 0.15s;
}

.stagger-delay-4 {
    transition-delay: 0.2s;
}

.stagger-delay-5 {
    transition-delay: 0.25s;
}

.stagger-delay-6 {
    transition-delay: 0.3s;
}

/* Page Content Styles */
.page-content {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}


/* Service Page Styles */
.service-page-section {
    margin-bottom: 3rem;
}

/* Service Page Hero Section */
.service-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    max-height: 400px;
    margin: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark gray gradient overlay - subtle and natural with minimal transition */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(34, 34, 34, 0.25), 
        rgba(34, 34, 34, 0.28));
    z-index: 1;
}

/* Bottom fade to blend into content area - extended and softened for seamless transition */
.service-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(34, 34, 34, 0.6),
        var(--color-dark-gray));
    z-index: 2;
}

/* Client Login Hero - no gradient */
.client-login-hero::after {
    display: none;
}

/* Service Hero Content Container */
.service-hero-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem 2rem;
    z-index: 3;
    box-sizing: border-box;
}

/* Service Hero Breadcrumb */
.service-hero-breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Hero Title */
.service-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin: 0;
}

.service-page-hero-image {
    width: 100%;
    max-width: 100%;
    height: 300px;
    margin: 2rem 0 3rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2a2a2a;
}

.service-page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-page-overview {
    margin-bottom: 0;
    position: relative;
}

.service-overview-approach-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
    position: relative;
}

/* Add white vertical divider between the two sections */
.service-page-overview::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.service-page-overview h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-page-overview h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
}

.service-page-overview p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    text-align: center;
}

.service-who-section {
    margin: 0;
}

/* Service sections grid layout */
.content-container {
    display: flex;
    flex-direction: column;
}

/* Grid layout for the three service cards at bottom */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

/* Ensure cards have equal heights */
.service-who-section.content-card,
.service-benefits-section.content-card,
.service-coordinated-section.content-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Add white divider lines between sections */
.service-who-section.content-card::after,
.service-benefits-section.content-card::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.service-who-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.service-who-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.service-benefits-section {
    margin: 0;
}

.service-benefits-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.service-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits-list li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-benefits-list li::before {
    content: '•';
    color: var(--color-orange);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.service-approach-section {
    margin: 0;
}

.service-approach-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-align: center;
}

.service-approach-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.service-coordinated-section {
    margin: 0;
}

.service-coordinated-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.service-coordinated-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-coordinated-list li {
    margin: 0;
}

.service-coordinated-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #3a3a3a;
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.service-coordinated-link:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

/* Risk Assessment Page */
.risk-assessment-section {
    padding: 4rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.risk-assessment-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.risk-assessment-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.risk-assessment-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.risk-assessment-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    overflow: hidden;
}

.risk-image-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.risk-cards-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Zoom out risk assessment image by 15% to show the full image */
.risk-assessment-section .risk-cards-image {
    transform: scale(0.85);
    object-fit: contain;
}

.risk-image-link:hover .risk-cards-image {
    transform: none;
}

.risk-assessment-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.risk-assessment-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.risk-assessment-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.risk-benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2rem;
}

.risk-benefits-list li {
    font-size: 1rem;
    color: var(--color-white);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.risk-benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
    font-size: 1.1rem;
}


.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.content-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
}

/* Podcast Page Styles */

/* Podcast Hero Section */
.podcast-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    max-height: 600px;
    background: #000000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    margin-top: 88px;
    border-bottom: 3px solid var(--color-orange);
}

.podcast-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
}

.podcast-hero-text {
    flex: 1;
    text-align: left;
    background-color: #000000;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.podcast-hero-image-container {
    flex: 0 0 auto;
    width: 50%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

.podcast-hero-image-container picture {
    width: 100%;
    height: 100%;
    display: block;
}

.podcast-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.podcast-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.podcast-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    margin-top: 0.25rem;
    font-style: italic;
    line-height: 1.4;
}

.podcast-hero-description {
    font-size: 1.25rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

/* Blog Hero Section */
.blog-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    max-height: 600px;
    background: #000000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    margin-top: 88px;
    border-bottom: 3px solid var(--color-orange);
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.02) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-hero::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.35) 25%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.05) 75%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.blog-hero-text {
    flex: 1;
    text-align: left;
    background-color: #000000;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.blog-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    margin-top: 0.25rem;
    font-style: italic;
    line-height: 1.4;
}

.blog-hero-description {
    font-size: 1.25rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

/* Blog Sections */
.blog-section {
    margin-bottom: 5rem;
    padding-top: 2rem;
}

.blog-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.blog-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-orange);
}

.blog-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 800px;
}

.blog-loading {
    padding: 3rem 0;
    text-align: center;
}

/* Blog Post Cards (for Ghost RSS feed) */
.blog-post-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 80, 0, 0.2);
}

.blog-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--color-orange);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-post-date {
    color: rgba(255, 255, 255, 0.6);
}

.blog-post-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.blog-post-link {
    display: inline-block;
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-post-link:hover {
    color: #ff6b35;
}

/* Blog Post Detail Page Styles */
.blog-post-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.blog-back-link:hover {
    color: var(--color-orange);
}

.blog-post-detail-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-post-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-detail-author {
    font-weight: 500;
}

.blog-post-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.blog-post-detail-content h1,
.blog-post-detail-content h2,
.blog-post-detail-content h3,
.blog-post-detail-content h4 {
    color: var(--color-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-post-detail-content h2 {
    font-size: 2rem;
}

.blog-post-detail-content h3 {
    font-size: 1.5rem;
}

.blog-post-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-post-detail-content strong {
    color: var(--color-white);
    font-weight: 600;
}

.blog-post-detail-content a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-detail-content a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.blog-post-detail-content ul,
.blog-post-detail-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-detail-content li {
    margin-bottom: 0.5rem;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-error {
    text-align: center;
    padding: 4rem 2rem;
}

.blog-post-error h1 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.blog-post-error p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Podcast Sections */
.podcast-section {
    margin-bottom: 5rem;
    padding-top: 2rem;
}

.podcast-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.podcast-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-orange);
}

/* Featured Episode Section */
.featured-episode-section {
    margin-top: 3rem;
}

.podcast-player-container {
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-player-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.podcast-player-container #buzzsprout-small-player {
    width: 100%;
    min-height: 200px;
}

/* Topics Section */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.topic-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.topic-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--color-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.topic-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
    color: var(--color-orange);
}

.topic-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Subscribe Section */
.subscribe-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.subscribe-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-orange);
    transform: translateY(-2px);
}

.platform-icon {
    font-size: 1.5rem;
}

.platform-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
}

/* Episodes Section */
.episodes-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.episodes-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.episodes-container #buzzsprout-episodes {
    width: 100%;
}

/* Custom Episode Player Styles */
.custom-episode-player {
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.custom-episode-player:hover .episode-header {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-orange);
}

.episode-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.episode-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.episode-header-content {
    flex: 1;
    min-width: 0;
}

.episode-art {
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 8px solid #000000;
}

.episode-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.episode-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(197, 80, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.episode-title {
    font-size: 2.275rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.episode-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.75rem 0;
    font-weight: 400;
}

.episode-description {
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

.episode-description-collapsed {
    max-height: 0;
    margin-bottom: 0;
    padding: 0;
}

.episode-description p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.25rem 0;
    font-weight: 400;
}

.episode-description p:first-child {
    margin-top: 0;
}

.episode-description p:last-child {
    margin-bottom: 0;
}

.see-more-btn {
    background: none;
    border: none;
    color: var(--color-orange);
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    display: inline-block;
}

.see-more-btn:hover {
    color: rgba(197, 80, 0, 0.8);
}

.audio-player-container {
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    width: 100%;
}

/* Hide default audio controls */
.custom-audio-element {
    display: none;
}

/* Modern Custom Player Controls */
.custom-player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-pause-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.play-pause-btn:hover {
    background-color: #a04000;
    transform: scale(1.05);
}

.play-pause-btn:active {
    transform: scale(0.95);
}

.play-pause-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
    color: var(--color-white);
}

.player-progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.player-progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.player-progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--color-orange);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.player-seek {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    z-index: 2;
}

.player-seek::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-orange);
    cursor: pointer;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.player-seek::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-orange);
    cursor: pointer;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.player-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.current-time {
    font-weight: 500;
    color: var(--color-white);
}

.time-separator {
    color: rgba(255, 255, 255, 0.5);
}

.total-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Page Styles */
.contact-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2a2a2a;
    margin-bottom: 3rem;
}

.contact-map-embed {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.contact-info-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.contact-info-item {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-item strong {
    color: var(--color-white);
    font-weight: 600;
}

.contact-email-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-email-link:hover {
    color: var(--color-orange);
}

/* Thank You Page */
.thank-you-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.thank-you-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.thank-you-response-time {
    margin-bottom: 2.5rem;
}

.thank-you-response-time p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.thank-you-response-time strong {
    color: var(--color-white);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Section Styles */
.about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* What We Do Section - Two Column (About Page Only) */
.about-section.what-we-do-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.what-we-do-content h2 {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.what-we-do-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.what-we-do-content h3 .highlight {
    color: var(--color-orange);
}

.what-we-do-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.what-we-do-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.what-we-do-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.what-we-do-image.hover-scale:hover {
    transform: none;
}

/* Reusable Content Card Style */
.content-card {
    background-color: transparent;
    border-radius: 0;
    padding: 2rem;
    position: relative;
}

/* Add white horizontal dividers between mission columns */
.mission-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Client Login Page - White Background */
.page-content:has(.client-login-section) {
    background-color: #ffffff;
    color: var(--color-dark-gray);
}

.page-content:has(.client-login-section) .content-container {
    background-color: #ffffff;
}

.client-login-section {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.client-login-section .client-login-grid {
    max-width: 100%;
    width: 100%;
}

.client-login-category-section {
    margin-bottom: 4rem;
}

.client-login-category-banner {
    background-color: transparent;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--color-orange);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.client-login-category-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 0;
}

.client-login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 0 auto 2rem;
    max-width: 1400px;
    width: 100%;
}

/* Make cards larger in sections with 2-3 items to fill width */
.client-login-section .client-login-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 100%;
    width: 100%;
}

/* Make logos bigger in top section (2 cards) */
.client-login-section .client-login-logo {
    width: 350px;
    height: 150px;
}

/* Annuities section has 3 cards - make them larger to fill width */
.annuities-section .client-login-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 100%;
    width: 100%;
}

/* Make logos in Annuities section same size as top row (before top row increase) */
.annuities-section .client-login-logo {
    width: 280px;
    height: 120px;
}

.client-login-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    min-height: 250px;
    justify-content: space-between;
    border: none;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}


.client-login-logo {
    width: 180px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.client-login-name {
    font-size: 1rem;
    color: var(--color-dark-gray);
    margin: 0;
    font-weight: 500;
    flex-shrink: 0;
}


.client-login-btn {
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(197, 80, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    color: var(--color-white) !important;
}

.client-login-btn:hover {
    box-shadow: 0 2px 6px rgba(197, 80, 0, 0.3);
    transform: translateY(-1px);
    color: var(--color-white) !important;
}

/* Mission/Values/Approach Section - Three Column */
.mission-values-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.mission-column h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.mission-column p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Team Section - Four Column Grid */
.team-section {
    margin-top: 2rem;
    scroll-margin-top: 100px;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member-card:has(.team-member-image:hover) {
    transform: none;
}

.team-member-image {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: filter 0.3s ease;
}

.team-member-image:hover {
    filter: brightness(0.85);
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.team-member-title {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.team-member-title-primary {
    font-size: 0.75rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.team-member-phone,
.team-member-email {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.team-member-email {
    word-break: break-all;
}

.team-member-image {
    cursor: pointer;
    transition: filter 0.3s ease;
}

.team-member-image:hover {
    filter: brightness(0.85);
}

/* Advisor Profile Page Styles */
.advisor-profile-page {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    min-height: 100vh;
}

.advisor-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.advisor-name-banner {
    margin-bottom: 2rem;
    padding: 6px;
    position: relative;
}

.advisor-name-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.advisor-name-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-width: 350px;
    white-space: nowrap;
}

.advisor-name-banner .advisor-banner-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    font-style: italic;
    max-width: 350px;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.advisor-banner-title-primary {
    font-size: 0.85rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    max-width: 350px;
    margin-top: 0;
    margin-bottom: 0;
}

.advisor-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.advisor-profile-left {
    min-height: 100%;
}

.advisor-profile-left {
    display: flex;
    flex-direction: column;
    gap: 0.67rem;
    align-items: flex-start;
    position: relative;
}

.advisor-headshot {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.25rem;
}

.advisor-profile-titles {
    margin-bottom: 0.5rem;
    text-align: left;
}

.advisor-profile-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.083rem;
    margin-top: 0;
}

.advisor-profile-title-primary {
    font-size: 0.85rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
    margin-bottom: 0;
}

.advisor-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.advisor-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advisor-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.advisor-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.advisor-contact-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.8);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
}

.back-button::before {
    content: '←';
    font-size: 1.2rem;
}

.advisor-profile-right {
    display: flex;
    flex-direction: column;
}

.advisor-biography {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.advisor-biography p {
    margin-bottom: 1.5rem;
}

.advisor-biography p:last-child {
    margin-bottom: 0;
}

/* Pricing Page Styles */
.pricing-page-content {
    padding: 2rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-intro-section {
    margin-bottom: 4rem;
    text-align: center;
}

.pricing-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.pricing-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-section {
    margin-bottom: 4rem;
}

.pricing-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Pricing Table */
.pricing-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    min-width: 900px;
}

.pricing-table thead {
    background-color: var(--color-orange);
}

.pricing-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-white);
    letter-spacing: 0.3px;
}

.pricing-table th:first-child {
    width: 35%;
}

.pricing-table th:not(:first-child) {
    text-align: center;
    font-size: 15px;
}

.tier-header {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.tier-price {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.95;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #3a3a3a;
    transition: background-color 0.2s ease;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #282828;
}

.pricing-table tbody tr:hover {
    background-color: #323232;
}

.pricing-table td {
    padding: 14px 15px;
    font-size: 14px;
    color: #e0e0e0;
}

.pricing-table td:first-child {
    font-weight: 500;
    color: var(--color-white);
}

.pricing-table td:not(:first-child) {
    text-align: center;
}

.checkmark {
    color: #4ade80;
    font-size: 18px;
    font-weight: bold;
}

.dash {
    color: #666666;
    font-size: 18px;
}

.text-value {
    color: var(--color-white);
    font-weight: 500;
}

.optional {
    color: var(--color-white);
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.module-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #3a3a3a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.module-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.module-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.module-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.module-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.6;
}

/* Universal Service Widget Style */
.service-widget {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #3a3a3a;
    border-left: 4px solid transparent;
    transition: box-shadow 0.2s ease, border-left-color 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.service-widget:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-left-color: var(--color-orange);
}

.service-widget:focus {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
    border-left-color: var(--color-orange);
}

.service-widget-icon {
    width: 32px;
    height: 32px;
    color: var(--color-orange);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: block;
}

.service-widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    max-width: 100%;
}

.service-widget-lead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    max-width: 100%;
}

.service-widget-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: 100%;
}

.service-widget-best-for {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.5;
    margin-top: auto;
    margin-bottom: 0;
    max-width: 100%;
}

.service-widget-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.service-widget-link:hover {
    color: var(--color-dark-green);
}

.service-widget-link-arrow {
    color: var(--color-dark-green);
    transition: transform 0.3s ease;
}

.service-widget-link:hover .service-widget-link-arrow {
    transform: translateX(5px);
}

/* Managed Accounts */
.managed-accounts-intro,
.managed-accounts-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.managed-accounts-list {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.managed-accounts-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 2rem;
}

.fee-schedule {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--color-orange);
}

.fee-schedule-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #3a3a3a;
}

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

.fee-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Disclosures */
.disclosures-content {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-top: 1rem;
}

.disclosures-content p {
    margin-bottom: 1.5rem;
}

.disclosures-content strong {
    color: var(--color-white);
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 100px;
}

.services-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.services-hero-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-hero-label {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.95;
    margin: 0;
}

.services-hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin: 0;
}

.services-hero-tagline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin: 0;
}

.services-hero-highlight {
    color: var(--color-orange);
}

.services-hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.95;
    margin: 0;
}

.services-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Top row: 4 cards, each spanning 3 columns (3 × 4 = 12) */
.service-card:nth-child(-n+4) {
    grid-column: span 3;
}

/* Bottom row: 3 cards, each spanning 4 columns (4 × 3 = 12) to fill the width */
.service-card:nth-child(5) {
    grid-column: span 4;
}

.service-card:nth-child(6) {
    grid-column: span 4;
}

.service-card:nth-child(7) {
    grid-column: span 4;
}


/* Service Card Flip Effect */
.service-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 400px;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.service-card-front {
    background-color: #2a2a2a;
}

.service-card-back {
    background-color: #2a2a2a;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.service-card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.service-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 2;
    width: auto;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 1rem 0;
    text-align: center;
    white-space: nowrap;
}

.service-card-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    margin: 0;
}

.service-card-back .service-card-title {
    position: static;
    background: none;
    padding: 0 0 1rem 0;
    text-align: center;
    margin-bottom: 1rem;
}

.service-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: center;
}

.service-widget-centered {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

/* Resources Section */
.resources-section {
    padding: 2rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 100px;
}

.resources-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Resource Card Flip Effect - Same as Service Cards */
.resource-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 400px;
    perspective: 1000px;
}

.resource-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.resource-card:hover .resource-card-inner {
    transform: rotateY(180deg);
}

.resource-card-front,
.resource-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.resource-card-front {
    background-color: #2a2a2a;
}

.resource-card-back {
    background-color: #2a2a2a;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.resource-card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Zoom out risk assessment image by 15% to show the whole thing */
.resource-card[href*="risk-assessment"] .resource-card-image {
    transform: scale(0.85);
    object-fit: contain;
}

.resource-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.resource-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 2;
    width: auto;
}

.resource-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 1rem 0;
    text-align: center;
    white-space: nowrap;
}

.resource-card-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    margin: 0;
}

.resource-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: center;
}

a.service-widget {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.service-widget:hover {
    text-decoration: none;
}

a.service-widget:focus {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
    border-left-color: var(--color-orange);
}

/* Who We Are Section */
.who-we-are-section {
    padding: 5rem 2rem;
    background-color: var(--color-dark-gray);
    width: 100%;
}

.who-we-are-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.who-we-are-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.who-we-are-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.who-we-are-label {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.95;
}

.who-we-are-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.who-we-are-highlight {
    color: var(--color-orange);
}

.who-we-are-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 7px 1.5rem;
    }

    /* Podcast Page Tablet */
    .podcast-hero-content {
        flex-direction: column;
    }

    .podcast-hero-text {
        text-align: center;
        padding: 4rem 3rem;
    }

    .podcast-hero-image-container {
        width: 100%;
        max-width: 100%;
    }

    .podcast-hero-title {
        font-size: 2.8rem;
    }

    .podcast-hero-subtitle {
        font-size: 1.2rem;
    }

    .podcast-hero-description {
        font-size: 1.1rem;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navigation {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* About Page Tablet */
    .mission-values-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Pricing Page Tablet */
    .modules-grid {
        grid-template-columns: 1fr;
    }


    /* What We Do Section Tablet */
    .what-we-do-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .what-we-do-headline {
        font-size: 2.5rem;
    }

    .what-we-do-tagline {
        font-size: 2.5rem;
    }

    /* Services Section Tablet */
    .services-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .services-hero-headline,
    .services-hero-tagline {
        font-size: 2.5rem;
    }

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

    .service-card {
        height: 350px;
    }

    .service-widget-centered {
        max-width: 100%;
    }

    /* Resources Section Tablet */
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        height: 350px;
    }

    /* Risk Assessment Page Tablet */
    .risk-assessment-bottom {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .risk-assessment-heading {
        font-size: 2rem;
    }

    .risk-benefits-list {
        flex-direction: row;
        gap: 1.5rem;
    }

    /* Who We Are Section Tablet */
    .who-we-are-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .who-we-are-headline {
        font-size: 2.5rem;
    }

    /* Contact Section Tablet */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-headline {
        font-size: 2.5rem;
    }

    /* Thank You Page Tablet */
    .thank-you-title {
        font-size: 2rem;
    }

    .thank-you-message {
        font-size: 1rem;
    }

    /* Client Login Page Tablet */
    .client-login-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-login-category-banner h2 {
        font-size: 1.75rem;
    }

    /* Footer Tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-disclaimers {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 72px;
    }

    main:has(.hero) {
        padding-top: 0;
    }

    main:has(.podcast-hero) {
        padding-top: 0;
    }

    main:has(.blog-hero) {
        padding-top: 0;
    }


    .header-container {
        padding: 7px 1rem;
        position: relative;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 1;
        position: absolute;
        left: 1rem;
    }

    .logo {
        order: 2;
        margin-left: 0;
        margin-right: 0;
    }

    .logo-svg {
        height: 50px;
        max-width: 250px;
    }

    .navigation {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        margin-top: 120px;
        min-height: 80vh;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin-left: 5%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    /* What We Do Section Mobile */
    .what-we-do-section {
        padding: 3rem 1.5rem;
    }

    .what-we-do-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .what-we-do-headline {
        font-size: 2rem;
    }

    .what-we-do-tagline {
        font-size: 2rem;
    }

    .what-we-do-description {
        font-size: 1rem;
    }

    /* Who We Are Section Mobile */
    .who-we-are-section {
        padding: 3rem 1.5rem;
    }

    .who-we-are-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .who-we-are-headline {
        font-size: 2rem;
    }

    .who-we-are-description {
        font-size: 1rem;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 3rem 1.5rem;
    }

    /* Thank You Page Mobile */
    .thank-you-container {
        padding: 1.5rem 0;
        min-height: 50vh;
    }

    .thank-you-content {
        padding: 1.5rem;
    }

    .thank-you-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .thank-you-message {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .thank-you-response-time {
        margin-bottom: 2rem;
    }

    .thank-you-response-time p {
        font-size: 0.9rem;
    }

    .thank-you-actions {
        justify-content: center;
    }

    .thank-you-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-headline {
        font-size: 2rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About Page Responsive */
    .about-section.what-we-do-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-values-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-svg {
        height: 43.75px;
        max-width: 200px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
    }

    .hero {
        margin-top: 140px;
    }

    .hero-content {
        margin-left: 1rem;
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-headline {
        font-size: 0.8rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-column-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* BrokerCheck Widget Mobile */
    .brokercheck-widget {
        bottom: 15px;
        right: 15px;
    }

    .brokercheck-image {
        max-width: 90px;
    }

    .footer-contact-item {
        font-size: 0.85rem;
    }

    .footer-disclaimer-text {
        font-size: 0.7rem;
    }

    /* About Page Mobile */
    .about-section {
        padding: 2rem 1rem;
    }

    .about-section.what-we-do-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .what-we-do-content h2 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .what-we-do-content h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .what-we-do-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .what-we-do-image {
        height: 300px;
    }

    .what-we-do-content .btn {
        width: 100%;
        max-width: 100%;
    }

    .mission-column h3 {
        font-size: 1.5rem;
    }

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

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

    /* Client Login Page Mobile */
    .client-login-section {
        padding: 2rem 0;
        margin-bottom: 3rem;
    }

    .client-login-category-banner {
        padding: 1.5rem 1rem;
    }

    .client-login-category-banner h2 {
        font-size: 1.5rem;
    }

    .client-login-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Ensure top section and annuities section stack on mobile */
    .client-login-section .client-login-grid,
    .annuities-section .client-login-grid {
        grid-template-columns: 1fr;
    }

    .client-login-card {
        padding: 1.5rem;
    }

    .client-login-logo {
        width: 150px;
        height: 60px;
    }

    /* Make top row and annuities logos same size as others on mobile */
    .client-login-section .client-login-logo,
    .annuities-section .client-login-logo {
        width: 150px;
        height: 60px;
    }

    .client-login-name {
        font-size: 0.9rem;
    }

    /* Advisor Profile Page Tablet */
    .advisor-profile-grid {
        grid-template-columns: 300px 1fr;
        gap: 3rem;
    }

    .advisor-profile-container {
        padding: 3rem 2rem;
    }

    .advisor-title {
        font-size: 1.2rem;
    }

    .advisor-name-banner h1 {
        font-size: 2rem;
        max-width: 300px;
    }

    .advisor-name-banner .advisor-banner-title {
        font-size: 1rem;
        max-width: 300px;
    }

    .advisor-banner-title-primary {
        font-size: 0.8rem;
        max-width: 300px;
    }

    .advisor-name-banner::after {
        width: 300px;
    }

    /* Pricing Page Mobile */
    .pricing-page-content {
        padding: 1rem 1rem 2rem;
    }

    .pricing-page-title {
        font-size: 2rem;
    }

    .pricing-section-title {
        font-size: 1.5rem;
    }

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

    .pricing-table-wrapper {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table {
        min-width: 800px;
    }

    /* Services Section Mobile */
    .services-section {
        padding: 3rem 1rem;
    }

    .services-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .services-hero-headline,
    .services-hero-tagline {
        font-size: 2rem;
    }

    .services-hero-description {
        font-size: 1rem;
    }

    .service-card {
        height: 300px;
    }

    .service-card-title {
        font-size: 1.3rem;
    }

    .service-card-content {
        padding: 1.5rem 1rem;
    }

    .service-card-back {
        padding: 1.5rem;
    }

    .service-card-description {
        font-size: 0.9rem;
    }

    /* Resources Section Mobile */
    .resources-section {
        padding: 1rem 1.5rem 3rem;
    }

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

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

    .resource-card {
        height: 300px;
    }

    .resource-card-title {
        font-size: 1.3rem;
    }

    .resource-card-content {
        padding: 1.5rem 1rem;
    }

    .resource-card-description {
        font-size: 0.9rem;
    }

    /* Advisor Profile Page Mobile */
    .advisor-profile-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .advisor-profile-container {
        padding: 2rem 1.5rem;
    }

    .advisor-headshot {
        max-width: 300px;
        margin: 0 auto;
    }

    .advisor-profile-titles {
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .advisor-profile-title {
        font-size: 1rem;
    }

    .advisor-profile-title-primary {
        font-size: 0.8rem;
    }

    .advisor-title {
        text-align: center;
        font-size: 1.2rem;
    }

    .advisor-contact {
        align-items: center;
    }

    .back-button {
        align-self: center;
    }

    .advisor-name-banner {
        margin-bottom: 2rem;
        padding: 6px;
    }

    .advisor-name-banner h1 {
        font-size: 1.8rem;
        max-width: 100%;
    }

    .advisor-name-banner .advisor-banner-title {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .advisor-banner-title-primary {
        font-size: 0.75rem;
        max-width: 100%;
    }

    .advisor-name-banner::after {
        width: 100%;
    }

    /* Risk Assessment Page Mobile */
    .risk-assessment-section {
        padding: 1rem 1.5rem 3rem;
    }

    .risk-assessment-container {
        gap: 2.5rem;
    }

    .risk-assessment-bottom {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .risk-assessment-heading {
        font-size: 1.8rem;
    }

    .risk-assessment-description {
        font-size: 1rem;
    }

    .risk-benefits-list {
        flex-direction: row;
        gap: 1rem;
    }

    /* Dropdown Mobile */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-link-dropdown {
        cursor: pointer;
    }

    .dropdown-menu.mobile-visible {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }


    /* Service Hero Mobile */
    .service-hero {
        height: 30vh;
        min-height: 250px;
        max-height: 300px;
        margin: 0;
        border-radius: 0;
    }

    .service-hero-title {
        font-size: 2rem;
    }

    .service-hero-breadcrumb {
        font-size: 0.75rem;
    }

    .service-hero-content {
        padding: 0 1.5rem 1.5rem;
        max-width: 100%;
        left: 0;
        transform: none;
    }

    .service-page-hero-image {
        height: 200px;
        margin: 1.5rem 0 2rem;
    }

    .service-page-overview h1 {
        font-size: 2rem;
    }

    .service-page-overview h2,
    .service-who-section h2,
    .service-benefits-section h2,
    .service-approach-section h2,
    .service-coordinated-section h2 {
        font-size: 1.5rem;
    }

    .service-who-section,
    .service-benefits-section,
    .service-coordinated-section {
        padding: 1.5rem;
    }

    /* Stack cards vertically on mobile */
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stack overview and approach vertically on mobile */
    .service-overview-approach-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact page mobile */
    .contact-map-container {
        height: 300px;
    }

    .service-coordinated-list {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Podcast Page Mobile */
    .podcast-hero {
        min-height: auto;
        max-height: none;
    }

    .podcast-hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .podcast-hero-text {
        text-align: center;
        padding: 3rem 2rem 1rem;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        order: 1;
        margin-bottom: 0;
    }

    .podcast-hero-image-container {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        order: 2;
        overflow: hidden;
        position: relative;
        margin-top: 0;
    }

    .podcast-hero-image-container picture {
        width: 100%;
        display: block;
    }

    .podcast-hero-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .podcast-hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .podcast-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .podcast-hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .podcast-hero-subtitle {
        font-size: 1.1rem;
    }

    .podcast-hero-description {
        font-size: 1rem;
    }

    .podcast-section {
        margin-bottom: 3rem;
    }

    .podcast-section-title {
        font-size: 1.8rem;
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Blog Page Mobile */
    .blog-hero {
        min-height: auto;
        max-height: none;
    }

    .blog-hero::before {
        width: 60%;
    }

    .blog-hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .blog-hero-text {
        text-align: center;
        padding: 3rem 2rem;
        width: 100%;
        max-width: 100%;
    }

    .blog-hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .blog-hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .blog-section {
        margin-bottom: 3rem;
    }

    .blog-section-title {
        font-size: 1.8rem;
    }

    /* Blog Post Detail Page Mobile */
    .blog-post-detail {
        padding: 1rem 0;
    }

    .blog-post-detail-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .blog-post-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .blog-post-detail-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .blog-post-detail-content h2 {
        font-size: 1.5rem;
    }

    .blog-post-detail-content h3 {
        font-size: 1.25rem;
    }

    .topic-card {
        padding: 1.5rem;
    }

    .subscribe-platforms {
        flex-direction: column;
        gap: 1rem;
    }

    .platform-item {
        width: 100%;
        justify-content: center;
    }

    /* Custom Episode Players Mobile */
    .custom-episode-player {
        padding: 2rem;
    }

    .episode-header {
        margin-bottom: 1.5rem;
    }

    .episode-header-top {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .episode-art {
        width: 200px;
        height: 200px;
        align-self: flex-start;
    }

    .episode-title {
        font-size: 1.95rem;
        line-height: 1.3;
    }

    .episode-description {
        margin-bottom: 1.5rem;
    }

    .episode-description p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .see-more-btn {
        margin-bottom: 1.5rem;
    }

    .audio-player-container {
        margin-top: 1.5rem;
    }

    .episodes-container {
        gap: 2.5rem;
    }
}

