/* ==============================================
   1. SITE BASELINE
   ============================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Times New Roman', Times, serif;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 700;
}

p, li, a {
  font-weight: 400;
}

/* ==============================================
   2. MENUS (Header, Top Bar, Main Nav, Mobile Nav)
   ============================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.home-page .site-header {
    position: absolute;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.home-page .site-header.scrolled {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.home-page .site-header:not(.scrolled) .hamburger-line {
    background-color: #ffffff;
}

.home-page .site-header:not(.scrolled) .nav-toggle.active .hamburger-line {
    background-color: #333333 !important;
}

.top-bar {
    background-color: #102c3f;
    padding: 0.5rem 5%;
}

.top-bar-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-phone {
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-phone:hover {
    color: #00a9ce;
}

.main-nav {
    background-color: transparent;
    padding: 1rem 5%;
    position: relative;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.nav-logo img {
    height: auto;
    max-height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: max-height 0.3s ease;
}

.site-header.scrolled .nav-logo img {
    max-height: 50px;
}

.nav-toggle {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 110;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.site-header.scrolled .hamburger-line {
    background-color: #333;
}

/* Mobile Menu Wrapper - Default (Hidden) State */
.nav-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 105;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 6rem;
    align-items: center;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
}

/* Mobile Menu Wrapper - Active (Visible) State */
.nav-menu-wrapper.active {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-nav.nav-open .hamburger-line {
    background-color: #333333 !important;
}

.site-header.scrolled .nav-menu-wrapper {
    box-shadow: none;
    border-radius: 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.nav-menu li {
    width: 100%;
}

.nav-menu a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.3rem;
}

.nav-menu a:hover {
    color: #00a9ce;
}

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

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
    display: none;
    width: 100%;
}

.nav-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    color: #555;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    color: #00a9ce;
    border-left-color: #00a9ce;
    background-color: #f9f9f9;
}

/* Hamburger Animation - Active State */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-toggle.active {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    z-index: 110;
}

.nav-toggle.active .hamburger-line {
    background-color: #333333 !important;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile-Specific Styles */
@media (max-width: 767px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-cta-button {
        margin-top: 2rem;
    }
}

/* Desktop Dropdown Styles */
@media (min-width: 768px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 280px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        margin-top: 0.5rem;
    }

    .nav-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 0.5rem;
        background: transparent;
    }

    .home-page .site-header:not(.scrolled) .dropdown-menu {
        background-color: rgba(16, 44, 63, 0.95);
        backdrop-filter: blur(10px);
    }

    .home-page .site-header:not(.scrolled) .dropdown-menu a {
        color: #ffffff;
    }

    .home-page .site-header:not(.scrolled) .dropdown-menu a:hover {
        color: #00a9ce;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .site-header.scrolled .dropdown-menu {
        background-color: #ffffff;
    }

    .site-header.scrolled .dropdown-menu a {
        color: #333;
    }

    .site-header.scrolled .dropdown-menu a:hover {
        color: #00a9ce;
        background-color: #f9f9f9;
    }
}

/* Desktop Menu Styles */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0;
    }

    .nav-menu-wrapper {
        position: static;
        height: auto;
        transform: none;
        background: transparent;
        z-index: auto;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        gap: 2rem;
        visibility: visible;
        opacity: 1;
    }

    .nav-cta-button {
        margin-top: 0;
        margin-left: 0;
        white-space: nowrap;
        min-width: max-content;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-right: 0;
        gap: .75rem;
        width: auto;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        color: #333;
        white-space: nowrap;
    }

    .services-dropdown-toggle {
        white-space: nowrap;
    }

    .home-page .site-header:not(.scrolled) .nav-menu a {
        color: #ffffff;
    }

    .home-page .site-header:not(.scrolled) .nav-menu a:hover {
        color: #00a9ce;
    }

    .site-header.scrolled .nav-menu a {
        color: #333;
    }

    .site-header.scrolled .nav-menu a:hover {
        color: #00a9ce;
    }

    .nav-menu a.active {
        color: #007bff;
        border-bottom: 2px solid #007bff;
    }

    .site-header.scrolled .nav-logo img {
        max-height: 70px;
    }
}

/* ==============================================
   3. EXTERNAL LINKS / BUTTONS
   ============================================== */

.top-bar-login-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.top-bar-login-btn:hover {
    color: #00a9ce;
}

.social-icon-wrapper {
    display: none;
}

.social-icon-linkedin {
    color: #ffffff;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon-linkedin:hover {
    color: #00a9ce;
}

.social-icon-linkedin img {
    width: 20px;
    height: 20px;
}

.nav-cta-button {
    text-decoration: none;
    color: #ffffff;
    background-color: #102c3f;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 4px solid #ffffff;
}

.nav-cta-button:hover {
    background-color: #ddccb8;
    color: #102c3f;
}

.cta-button-style {
    text-decoration: none;
    color: #ffffff;
    background-color: #102c3f;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Playfair Display', sans-serif;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.cta-button-style:hover {
    background-color: #ddccb8;
    color: #102c3f;
}

.glass-pane-button {
    display: inline-block;
    align-self: center;
    margin-top: 1.5rem;
    padding: 0.6rem 1.25rem;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Playfair Display', sans-serif;
    transition: all 0.3s ease;
    background-color: #434242;
}

.glass-pane-card:hover .glass-pane-button {
    background-color: #ffffff;
    color: #102c3f;
}

.transition-button {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background-color: #102c3f;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Playfair Display', sans-serif;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
    align-self: flex-start;
}

.transition-card:hover .transition-button {
    background-color: #ddccb8;
    color: #102c3f;
}

.final-cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #102c3f;
    font-family: 'Playfair Display', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.final-cta-button:hover {
    background-color: #ddccb8;
    color: #102c3f;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Mobile Menu Styles */

@media (max-width: 767px) {
    .nav-logo img {
        max-height: 60px;
    }
}

/* Floating Buttons */
.floating-button-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1000;
    align-items: center;
}

.brokercheck-float {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 150px;
    display: block;
}

.brokercheck-float img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.brokercheck-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.crs-float {
    background-color: #102c3f;
    color: #ffffff;
    font-family: 'Times New Roman', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.crs-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    background-color: #ddccb8;
    color:#102c3f;
}

/* Scroll Down Arrow */
.scroll-down-link {
    position: relative;
    bottom: auto;
    left: 0;
    transform: none;
    z-index: 10;
    text-decoration: none;
    color: #ffffff;
    font-size: 2.5rem;
    animation: bounceMobile 2s infinite;
    transition: color 0.3s ease;
    display: block;
    margin-top: 2rem;
    text-align: center;
}

.scroll-down-link:hover {
    color: #00a9ce;
}

@keyframes bounceMobile {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.7;
    }
}

@keyframes bounceDesktop {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.7;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .floating-button-wrapper {
        bottom: 0;
        left: 10px;
        gap: 8px;
    }
    
    .brokercheck-float {
        width: 60px;
        height: 60px;
    }
    
    .brokercheck-float img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .crs-float {
        font-size: 0.6rem;
        padding: 6px 8px;
        white-space: nowrap;
        line-height: 1.2;
    }
}

/* Tablet/Desktop Styles */
@media (min-width: 768px) {
    .social-icon-wrapper {
        display: flex;
    }

    .nav-cta-button {
        margin-top: 0;
        margin-left: 1rem;
    }

    .floating-button-wrapper {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        left: 30px;
        bottom: 30px;
    }
    
    .brokercheck-float {
        width: 150px;
    }
    
    .crs-float {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .scroll-down-link {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        font-size: 3rem;
        animation: bounceDesktop 2s infinite;
    }

    .about-image-wrapper {
        display: block;
        flex: 1;
        max-width: 40%;
    }

    .about-bio-wrapper {
        flex: 1.5;
        max-width: 60%;
    }
}

/* ==============================================
   4. MODALS (Login Overlay)
   ============================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal-overlay.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.modal-open .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 3rem;
    color: #000000;
    font-weight: 400;
    line-height: 0.7;
    cursor: pointer;
    z-index: 20;
    padding: 0.5rem;
}

.modal-close-btn:hover {
    color: #333333;
}

.modal-pre-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.modal-title {
    font-size: 1.75rem;
    text-align: center;
    color: #102c3f;
    margin: 0.25rem 0 1.5rem 0;
}

.modal-acknowledgment-text {
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.modal-acknowledgment-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #434242;
    margin-top: 0;
    margin-bottom: 1rem;
}

.modal-acknowledgment-text p:last-child {
    margin-bottom: 0;
}

.modal-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-portal-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #102c3f;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Playfair Display', sans-serif;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.modal-portal-button:hover {
    background-color: #00a9ce;
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
    }

    .modal-acknowledgment-text {
        overflow-y: auto;
        max-height: 250px;
        flex: 1;
        -webkit-overflow-scrolling: touch;
        box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.1);
    }

    .modal-button-wrapper {
        flex-shrink: 0;
        margin-top: auto;
    }
}

@media (min-width: 768px) {
    .modal-button-wrapper {
        flex-direction: row;
    }
}

/* ==============================================
   5. SECTIONS
   ============================================== */

/* Hero Video Banner */
.video-hero-banner {
    width: 100%;
    min-height: 100vh;
    height: auto;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 4rem;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0.5rem 1.5rem 0 1.5rem;
    margin-top: 0;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-content-wrapper h2 {
    color: #ffffff;
    font-size: 1.75rem;
    margin: 0;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-button-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 70px;
}

/* Gradient for Preparing for Retirement button */
.hero-cta-button:nth-child(1) {
    background: linear-gradient(135deg, rgba(16, 44, 63, 0.3) 0%, rgba(26, 74, 97, 0.3) 100%);
}

.hero-cta-button:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(16, 44, 63, 0.5) 0%, rgba(26, 74, 97, 0.5) 100%);
    border-color: rgba(16, 44, 63, 0.6);
}

/* Gradient for Corporate Executive button */
.hero-cta-button:nth-child(2) {
    background: linear-gradient(135deg, rgba(0, 169, 206, 0.3) 0%, rgba(0, 140, 170, 0.3) 100%);
}

.hero-cta-button:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(0, 169, 206, 0.5) 0%, rgba(0, 140, 170, 0.5) 100%);
    border-color: rgba(0, 169, 206, 0.6);
}

/* Gradient for Business Owner button */
.hero-cta-button:nth-child(3) {
    background: linear-gradient(135deg, rgba(221, 204, 184, 0.3) 0%, rgba(200, 180, 155, 0.3) 100%);
}

.hero-cta-button:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(221, 204, 184, 0.5) 0%, rgba(200, 180, 155, 0.5) 100%);
    border-color: rgba(221, 204, 184, 0.6);
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-cta-button:active {
    transform: translateY(-1px);
}

.button-icon {
    display: none;
}

.button-text {
    width: 100%;
    line-height: 1.3;
    text-align: center;
}

.loading-dots {
    display: inline-block;
    position: relative;
    top: -4px;
    margin-left: 2px;
}

.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    margin-left: 4px;
    opacity: 0;
    animation: buildDot 1.5s infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0.0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes buildDot {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 1; }
}

.clientele-grid-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.glass-pane-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    padding: 2rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-pane-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.glass-pane-card h3 {
    color: #102c3f;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.glass-pane-card p {
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Tablet and Desktop Hero Styles */
@media (min-width: 768px) {
    .video-hero-banner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-bottom: 0;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin-top: 0;
    }
    
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    .hero-content-wrapper h2 {
        font-size: 3.5rem;
    }

    .hero-button-grid {
        max-width: 600px;
        gap: 1.25rem;
    }
    
    .hero-cta-button {
        padding: 1.25rem 2rem;
        font-size: 1.25rem;
        min-height: auto;
    }
    
    .button-icon {
        width: 60px;
        height: 60px;
        left: 2rem;
    }

    .button-text {
        padding: 0 4rem;
    }
}

@media (min-width: 900px) {
    .clientele-grid-hero {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop Hero Styles */
@media (min-width: 1200px) {
    .hero-button-grid {
        max-width: 700px;
        gap: 1.5rem;
    }
    
    .hero-cta-button {
        padding: 1.5rem 2.5rem;
        font-size: 1.35rem;
    }
    
    .button-icon {
        width: 70px;
        height: 70px;
        left: 2.5rem;
    }
}

/* Logo Ticker (Memberships) */
.memberships {
    background-color: #ffffff;
    padding: 2rem 0;
    overflow: hidden;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    flex-shrink: 0;
}

.logo-item img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
}

/* About Planner Section */
.about-planner {
    padding: 4rem 5%;
    background-color: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image-wrapper {
    flex: 1;
    max-width: 40%;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-bio-wrapper {
    flex: 1.5;
    max-width: 60%;
}

.about-bio-wrapper h2 {
    font-size: 2.0rem;
    margin-top: 0;
    color: #102c3f;
    white-space: nowrap;
}

.about-bio-wrapper h2 {
    font-size: 2.0rem;
    margin-top: 0;
    color: #102c3f;
}

.about-bio-wrapper h3 {
    font-size: 1.5rem;
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    color: #555;
    font-family: 'Times New Roman', Times, serif;
}

.about-bio-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
    .about-image-wrapper,
    .about-bio-wrapper {
        max-width: 100%;
    }
    .about-bio-wrapper {
        text-align: center;
    }
    .about-bio-wrapper h2 {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .about-image-wrapper {
        max-width: 80%;
    }

}

/* Our Clientele Section */
.clientele-section {
    padding: 4rem 5%;
    background-color: #f9f9f9;
}

.clientele-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.clientele-container h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 3rem;
    color: #102c3f;
}

.clientele-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    color: #555;
    margin-top: -2.5rem;
    margin-bottom: 2.5rem;
}

.clientele-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    perspective: 1000px;
}

.clientele-or-divider {
    font-family: 'Playfair Display', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: black;
}

.clientele-or-divider span {
    display: block;
    padding: 0 1rem;
}

.clientele-card {
    flex: 1;
    max-width: 400px;
    height: 350px;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

/* Desktop 3D Flip */
@media (min-width: 769px) {
    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }

    .clientele-card:hover .card-inner,
    .clientele-card.is-flipped .card-inner {
        transform: rotateY(180deg);
    }

    .card-front,
    .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card-front {
        background-color: #102c3f;
        color: white;
        padding: 1rem;
    }

    .card-back {
        background-color: #ffffff;
        color: #333;
        transform: rotateY(180deg);
        padding: 2.5rem;
    }
}

/* Mobile Toggle Flip */
@media (max-width: 768px) {
    .clientele-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .clientele-or-divider {
        font-size: 3rem;
        padding: 0.5rem 0;
    }

    .clientele-card {
        height: auto;
        width: 100%;
        max-width: 400px;
    }

    .card-inner {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    /* Both sides are position relative on mobile */
    .card-front,
    .card-back {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 250px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 1.5rem;
        transition: none;
        transform: none;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
    }

    .card-front {
        background-color: #102c3f;
        color: white;
        display: flex;
    }
    
    .card-back {
        background-color: #ffffff;
        color: #333;
        display: none;
        margin-top: 0;
    }

    /* When flipped, hide front and show back */
    .clientele-card.is-flipped .card-front {
        display: none !important;
    }
    
    .clientele-card.is-flipped .card-back {
        display: flex !important;
    }
}

.card-front h3 {
    font-size: 1.75rem;
    text-align: center;
    margin: 0;
}

.card-back .clientele-icon {
    color: #102c3f;
    margin: 0 auto 1.5rem auto;
    text-align: center;
}

.card-back .clientele-icon img {
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.clientele-stat {
    font-family: 'Playfair Display', sans-serif;
    font-size: 3rem;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.clientele-description {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    color: #555;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .card-front h3 {
        font-size: 1.5rem;
    }

    .clientele-stat {
        font-size: 2.5rem;
    }

    .clientele-description {
        font-size: 1.1rem;
    }
}

/* Life Transitions Section */
.transitions-section {
    padding: 4rem 5%;
    background-color: rgba(221, 204, 184, 0.25);
}

.transitions-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.transitions-container h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 3rem;
    color: #102c3f;
}

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

/* Transition Cards - Consolidated Styles */
.transition-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: space-between;
    cursor: pointer;
    background: white;
    border: none;
    width: 100%;
    font-family: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.transition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    cursor: pointer;
}

.transition-card > div {
    margin-bottom: 1.5rem;
}

.transition-card h3 {
    font-size: 1.5rem;
    color: #102c3f;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.transition-card p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.transition-button {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background-color: #102c3f;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Playfair Display', sans-serif;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
    align-self: flex-start;
}

.transition-card:hover .transition-button {
    background-color: #ddccb8;
    color: #102c3f;
}

/* Responsive Grid */
@media (min-width: 600px) {
    .transitions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transition-card {
        padding: 2.5rem;
    }
}

@media (min-width: 900px) {
    .transitions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .transition-card {
        padding: 3rem;
    }
}

/* Final CTA Section */
/* Hide final CTA by default */
.final-cta {
    display: none;
}

/* Show final CTA only on home and about pages */
.home-page .final-cta,
.about-page .final-cta {
    display: block;
}

.final-cta {
    background-color: #102c3f;
    padding: 4rem 5%;
    text-align: center;
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.final-cta-button {
    display: inline-block;
    background-color: #ddccb8;
    color: #102c3f;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.final-cta-button:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Section */
.site-footer {
    background-color: #102c3f;
    color: #ffffff;
    padding: 2rem 5%;
    position: relative;
}

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

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-address {
    margin: 0;
}

.footer-address p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.25rem 0;
    white-space: normal;
}

.footer-address strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ddccb8;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem 0;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .footer-left {
        justify-content: flex-start;
    }
    
    .footer-logo {
        max-width: 250px;
    }
    
    .footer-right {
        flex-direction: row;
        gap: 3rem;
        text-align: left;
    }
    
    .footer-address {
        flex: 1;
    }
    
    .footer-address p {
        white-space: nowrap;
    }
    
    .footer-links {
        flex: 1;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 2.5rem 5%;
    }
    
    .footer-logo {
        max-width: 280px;
    }
}

/* Allow wrapping on mobile */
@media (max-width: 767px) {
    .footer-address p {
        white-space: normal;
    }
}

/* ==============================================
   SERVICE PAGES STYLES
   ============================================== */

.service-page main {
    padding-top: 140px;
}

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, #102c3f 0%, #1a4a61 100%);
    padding: 4rem 5%;
    text-align: center;
    color: #ffffff;
}

.service-hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.service-hero-content h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.service-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Introduction */
.service-intro {
    padding: 3rem 5%;
    background-color: #f9f9f9;
}

.service-intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-intro-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
}

/* Client Type Toggle Buttons */
.client-type-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.client-type-btn {
    background-color: #ffffff;
    color: #102c3f;
    border: 2px solid #102c3f;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.client-type-btn:hover {
    background-color: #102c3f;
    color: #ffffff;
}

.client-type-btn.active {
    background-color: #102c3f;
    color: #ffffff;
}

/* Service Content */
.service-content {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-content.hidden {
    display: none;
}

.service-content-intro {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.service-content-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

/* Service Item */
.service-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: stretch;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-item.fade-in-right {
    transform: translateX(50px);
}

.service-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-item-text {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.service-item-text h3 {
    font-size: 1.75rem;
    color: #102c3f;
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-item-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.service-guide-btn {
    display: inline-block;
    background-color: #102c3f;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-guide-btn:hover {
    background-color: #1a4a61;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Multiple Guide Buttons */
.service-guide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-guide-buttons .service-guide-btn {
    flex: 0 1 auto;
    text-align: center;
    font-size: 1.05rem;
    padding: 0.7rem 1.5rem;
    white-space: nowrap;
}

/* Button Color Pattern - Repeats every 4 buttons */
.service-guide-buttons .service-guide-btn:nth-child(4n+1) {
    background-color: #102c3f;
    color: #ffffff;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+1):hover {
    background-color: #1a4a61;
    color: #ffffff;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+2) {
    background-color: #ddccb8;
    color: #102c3f;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+2):hover {
    background-color: #c9b89e;
    color: #102c3f;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+3) {
    background-color: #00a9ce;
    color: #ffffff;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+3):hover {
    background-color: #0090b3;
    color: #ffffff;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+4) {
    background-color: #434242;
    color: #ffffff;
}

.service-guide-buttons .service-guide-btn:nth-child(4n+4):hover {
    background-color: #5a5858;
    color: #ffffff;
}

@media (max-width: 767px) {
    .service-guide-buttons {
        flex-direction: column;
    }
    
    .service-guide-buttons .service-guide-btn {
        width: 100%;
        white-space: normal;
    }
}

.service-item-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    min-width: 0;
}

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

/* Hide images on mobile */
@media (max-width: 767px) {
    .service-item-image {
        display: none;
    }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .service-hero-content h1 {
        font-size: 3rem;
    }

    .service-subtitle {
        font-size: 1.75rem;
    }

    .service-item {
        flex-direction: row;
        gap: 0;
        margin-bottom: 5rem;
        width: 100%;
    }

    .service-item-text,
    .service-item-image {
        flex: 1 1 50%;
        min-width: 0;
    }

    .service-item-text {
        padding: 2.5rem;
    }
    
    /* Default layout: Text on left, Image on right (fade-in-left) */
    .service-item.fade-in-left {
        flex-direction: row;
    }
    
    .service-item.fade-in-left .service-item-text {
        border-radius: 8px 0 0 8px;
    }
    
    .service-item.fade-in-left .service-item-image {
        border-radius: 0 8px 8px 0;
    }
    
    /* Reversed layout: Image on left, Text on right (fade-in-right) */
    .service-item.fade-in-right {
        flex-direction: row-reverse;
    }
    
    .service-item.fade-in-right .service-item-text {
        border-radius: 0 8px 8px 0;
    }
    
    .service-item.fade-in-right .service-item-image {
        border-radius: 8px 0 0 8px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .service-page main {
        padding-top: 160px;
    }

    .service-hero {
        padding: 5rem 5%;
    }

    .service-hero-content h1 {
        font-size: 3.5rem;
    }

    .service-item {
        margin-bottom: 6rem;
    }
}

/* Service CTA */
.service-cta {
    background-color: #102c3f;
    padding: 4rem 5%;
    text-align: center;
}

.service-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.service-cta h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ==============================================
   6. ABOUT PAGE STYLES
   ============================================== */

.about-page-section {
    padding: 3rem 5%;
    background-color: #f9f9f9;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page-title {
    font-size: 2.5rem;
    color: #102c3f;
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
}

.about-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
}

.profile-card {
    position: sticky;
    top: 150px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    text-align: center;
}

.profile-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.profile-card h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.75rem;
    color: #102c3f;
    margin: 0.5rem 0;
    text-align: center;
    white-space: nowrap;
}

.profile-card .bio-title {
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
    font-family: 'Times New Roman', Times, serif;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.profile-card .cta-button-style {
    display: inline-block;
    text-align: center;
}

.profile-linkedin-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #102c3f;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease;
}

.profile-linkedin-icon img {
    width: 20px;
    height: 20px;
    margin: 0;
}

.profile-linkedin-icon:hover {
    background-color: #00a9ce;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-content-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-content-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content-wrapper .about-content-card:nth-child(1).is-visible {
    transition-delay: 0.1s;
}
.about-content-wrapper .about-content-card:nth-child(2).is-visible {
    transition-delay: 0.2s;
}
.about-content-wrapper .about-content-card:nth-child(3).is-visible {
    transition-delay: 0.3s;
}
.about-content-wrapper .about-content-card:nth-child(4).is-visible {
    transition-delay: 0.4s;
}

.about-content-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #102c3f;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', sans-serif;
}

.about-content-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-content-card p:last-child {
    margin-bottom: 0;
}

.about-content-card ul {
    list-style-position: outside;
    padding-left: 1.25rem;
    margin: 0;
}

.about-content-card li {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
    .about-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-card {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-card h3,
    .profile-card .bio-title {
        text-align: center;
    }

    .profile-card h3 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .about-page-section {
        padding: 3rem 1.5rem;
    }
}

/* ==============================================
   CALENDLY MODAL
   ============================================== */

.calendly-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.calendly-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendly-modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 2rem;
    padding: 0;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.calendly-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10001;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    color: #102c3f;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.calendly-modal-close:hover {
    background-color: #102c3f;
    color: #ffffff;
    transform: rotate(90deg);
}

.calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Mobile responsiveness */
@media (max-width: 767px) {
    .calendly-modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .calendly-inline-widget {
        height: 600px !important;
    }
    
    .calendly-modal-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}

/* Transition Modal Styles */
.transition-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.transition-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.transition-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    transition: background 0.3s ease;
}

.transition-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.transition-modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.transition-modal-image {
    width: 100%;
    display: none; /* Hidden on mobile by default */
}

.transition-modal-image img {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
}

.transition-modal-text {
    flex: 1;
}

.transition-modal-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #102c3f;
    margin: 0 0 1rem 0;
}

.transition-modal-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}

.transition-full-page-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #102c3f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.transition-full-page-link:hover {
    background-color: #1a4059;
}

/* Desktop Modal Styles */
@media (min-width: 768px) {
    .transition-modal-body {
        flex-direction: row;
        gap: 2.5rem;
        padding: 3rem;
    }
    
    .transition-modal-image {
        display: block;
        flex: 0 0 300px;
    }
    
    .transition-modal-image img {
        width: 300px;
        height: 300px;
    }
    
    .transition-modal-text {
        flex: 1;
    }
    
    .transition-modal-text h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .transition-modal-content {
        max-width: 1100px;
    }
    
    .transition-modal-image {
        flex: 0 0 350px;
    }
    
    .transition-modal-image img {
        width: 350px;
        height: 350px;
    }
}