/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0; /* Removed top padding so header extends to top of page */
    min-height: 100%; 
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    background: white;
  }
  
  /* Sticky Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Logo */
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  /* Nav */
  .nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: rgba(255, 255, 255, 0);
    border: 1px solid #ddd;
    padding: 1rem;
    flex-wrap: wrap;
  }
  
  /* Toggle button */
  .nav-toggle {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Show nav when toggled (JS will add class) */
  .nav.open {
    display: flex;
  }
  
  /* Desktop Styles */
  @media (min-width: 768px) {
    .nav {
      display: flex;
      position: static;
      flex-direction: row;
      gap: 2rem;
      border: none;
      padding: 0;
    }
  
    .nav-toggle {
      display: none;
    }
  }
  
  /* Sample content */
  .content {
    padding: 2rem;
  }
  
  .nav a:hover,
.nav a.active {
  color: #1a2e45;
}
  
@font-face {
    font-family: 'Epilogue';
    font-style: normal;
    font-weight: 100 900; /* Variable font weight range */
    font-display: swap;
    src: url('../assets/fonts/Epilogue/Epilogue-VariableFont_wght.woff2') format('woff2'),
         url('../assets/fonts/Epilogue/Epilogue-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Epilogue';
    font-style: italic;
    font-weight: 100 900; /* Variable font weight range */
    font-display: swap;
    src: url('../assets/fonts/Epilogue/Epilogue-Italic-VariableFont_wght.woff2') format('woff2'),
         url('../assets/fonts/Epilogue/Epilogue-Italic-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 900; /* Variable font weight range */
    font-display: swap;
    src: url('../assets/fonts/Nunito/Nunito-VariableFont_wght.woff2') format('woff2'),
         url('../assets/fonts/Nunito/Nunito-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 200 900; /* Variable font weight range */
    font-display: swap;
    src: url('../assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.woff2') format('woff2'),
         url('../assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900; /* Common variable font weight range */
    font-display: swap;
    src: url('../assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900; /* Common variable font weight range */
    font-display: swap;
    src: url('../assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
}
.header {
    width: 100%;
    min-height: 110px; /* Increased from 80px to 100px for 20px more background */
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start to keep content at top */
    justify-content: flex-start; /* Changed back from space-between to left-align content */
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%),
        radial-gradient(circle at top left, #A7C6D9 0%, #8EACBF 60%);
    position: absolute; /* Position absolutely to start at top */
    top: 0; /* Start at very top of page */
    left: 0; /* Ensure full width from left edge */
    z-index: 10;
    padding-left: 20px;
    padding-right: 10px;
    padding-top: 10px; /* Minimal padding to prevent content from touching very edge */
    box-sizing: border-box;
}
.header .logo {
    max-height: 80px;
    max-width: 300px;
    width: auto;
    display: block;
}
.hamburger-icon {
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    justify-content: space-around;
    background-color: #e8f2f761;
    padding: 10px 10px 10px 10px;
    border-radius: 6px;
    width: 60px;
    height: 55px;
    cursor: pointer;
    margin-left: auto; /* Pushes it to the right if header is row */
}
.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a2e45cc; /* Or your preferred icon color */
    border-radius: 3px;
    transition: all 0.1s ease-in-out; /* For smooth transformation */
}

/* Styles for "X" state */
.hamburger-icon.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.nav {
    display: flex;
    column-gap: 1rem; /* Horizontal spacing between nav items on same line */
    row-gap: .2rem; /* Vertical spacing between wrapped lines - smaller for tighter wrapping */
    flex-wrap: wrap; /* Allow wrapping */
    margin-left: 2rem; /* Simplified from clamp() */
    margin-top: 0;
    justify-content: flex-start; /* Left-align nav items */
    align-self: center; /* Center nav vertically within header */
}
.nav a {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 300;
    line-height: .8rem;
    letter-spacing: 6%;
    color: #1a2e45;
    text-decoration: none;
    font-size: 1.1rem; /* Simplified from clamp() */
    transition: color 0.2s;
    padding: 10px 0 4px 0; /* Increased top padding from 4px to 10px, kept bottom at 4px */
    text-transform: uppercase;
    position: relative; /* For pseudo-element positioning */
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0; /* 2px space between text and underline */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #BA9338;
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth opacity fade-in animation */
}

.nav a:hover::after,
.nav a.active::after {
    opacity: 1; /* Fade to full opacity on hover */
}

.nav a:hover,
.nav a.active {
    border-bottom: none;
    box-shadow: none; /* Remove box-shadow since we're using ::after pseudo-element */
}
.nav-login-link {
    display: none; /* Hidden by default on desktop */
}
.container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1 {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 400;
    font-size: 2.1rem; 
    line-height: 1.15;
    color: #284464;
    text-align: left;
    animation: h1SizeBump 1.5s ease-out forwards;
    transform-origin: left center; /* All h1 animations scale from left center */
}

@keyframes h1SizeBump {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}
/* All h1-main-text with native underline */
.h1-main-text {
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: #BA9338;
    text-underline-offset: 4px;
}
h3 {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 400;   
    font-style: normal;
    font-size: 2.3rem;
    line-height: 2.5rem;
    color: #284464;
    text-align: left;
}
h2 {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 400;   
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #1a2e45;
    text-align: left;
}
p {
    
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    font-style: normal;
    line-height: 1.4rem;
    color: #1a2e45;
    padding-top: 10px;
    margin-bottom: 10px; /* Added for spacing after paragraphs */
}

.p-terms {
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    font-style: normal;
    line-height: 1.2; /* Adjusted for smaller font size */
    color: #1a2e45;
    padding-top: 10px;
    margin-bottom: 10px; /* For spacing after the paragraph */
}

/* Unordered list styled like paragraph text */
ul.ul-like-p {
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    font-style: normal;
    line-height: 1.4rem;
    color: #1a2e45;
    padding-top: 10px;
    list-style-type: none;
    padding-left: 40px; /* Increased indentation from 20px to 40px */
    margin-bottom: 10px;
    width: 100%;
    align-self: flex-start;
}

ul.ul-like-p li {
    padding-bottom: 5px;
    position: relative;
    display: block;
    margin-bottom: 10px; /* Added to match paragraph spacing */
}

ul.ul-like-p li::before {
    content: '•';
    color: #1a2e45;
    font-size: .7em;
    position: absolute;
    left: -20px; /* Adjusted from -12px to -20px to account for increased padding */
    top: 2px; /* Slightly adjusted to better align with text */
}

.page-logo {
    display: none;
}
.main-content {
    display: flex;
    gap: 3%;
    margin-top: 150px; /* Increased to account for absolutely positioned header */
    flex-grow: 1;
    min-width: 0;
}

.left-col {
    width: 22%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    min-width: 0;
}
/* Card size bump animation */
@keyframes cardFloatUp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Square card subtle size bump animation */
@keyframes squareCardEntry {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.card {
    background: radial-gradient(circle at top left, rgba(193, 211, 226, .18) 0%, rgba(193, 211, 226, .6)    70%);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 15px;
    width: 250px;
    max-width: 100%;
    min-height: 100px;
    animation: cardFloatUp 1s ease-out forwards;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

/* Staggered animation delays for multiple cards */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(4) { animation-delay: 0.6s; }
.card:nth-child(5) { animation-delay: 0.8s; }
.card:nth-child(6) { animation-delay: 1.0s; }

/* Staggered animation delays for square cards */
.card-squared:nth-child(1) { animation-delay: 0s; }
.card-squared:nth-child(2) { animation-delay: 0.2s; }
.card-squared:nth-child(3) { animation-delay: 0.4s; }
.card-squared:nth-child(4) { animation-delay: 0.6s; }
.card-squared:nth-child(5) { animation-delay: 0.8s; }
.card-squared:nth-child(6) { animation-delay: 1.0s; }

.leadership-content-row:nth-child(2) .leadership-card { animation-delay: 0s; }
.leadership-content-row:nth-child(3) .leadership-card { animation-delay: 0.2s; }
.leadership-content-row:nth-child(4) .leadership-card { animation-delay: 0.4s; }
.leadership-content-row:nth-child(5) .leadership-card { animation-delay: 0.6s; }
.leadership-content-row:nth-child(6) .leadership-card { animation-delay: 0.8s; }
.leadership-content-row:nth-child(7) .leadership-card { animation-delay: 1.0s; }
.card-text {
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.1rem;
    color: #424D58;
    padding-top: 10px;
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 10px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.card-text .card-word {
    color: #C4141A;
}
.card-squared-text {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 200;
  font-size: 1.2rem;
  font-style: regular;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4rem;
  color: #1a2e45;
 
}
.right-col {
    width: 75%;
    padding: 0px 24px;
    margin-right: 50px;
    min-width: 0;
}
@media (max-width: 768px) {
    .top-login-bar {  
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: none !important;
    }
    .header {
        flex-direction: row; /* Keeps logo and hamburger on same line */
        align-items: center; /* Vertically align logo and hamburger */
        height: 70px;
        padding-left: 20px;
        padding-right: 20px; /* Adjusted padding slightly */
        padding-bottom: 20px;
    }
    .header .logo {
    height: 70px;
    max-width: 400px;
    width: auto;
    display: block;
}
    .hamburger-icon {
        display: flex; /* Show hamburger on mobile */
    }
    .nav {
        display: none; /* Hide nav by default on mobile */
        flex-direction: column;
        gap: .8rem; /* Added gap for spacing between column items */
        width: 80%;
        background: radial-gradient(circle at top left, #bacdd9fd 0%, #c0d2e2fa 70%);
        position: absolute; /* Corrected from 'center' */
        top: 80px; /* Adjust based on header height */
        left: 0;
        padding: 30px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 999; /* Below top-login-bar but above other content */
    }
    .nav.nav-open {
        display: flex; /* Show nav when .nav-open class is added */
    }
    .nav a,
    .nav-login-link { /* Ensure new link is also targeted for mobile styles */
        padding: 15px 10px; /* Increased top/bottom padding from 10px to 15px */
        width: auto;
        text-align: left;
        margin-left: 20px;
        box-sizing: border-box;
        font-size: 1.3rem;
        font-weight: 200;
        text-decoration: underline;
        text-decoration-color: #BA9338;
        text-underline-offset: 4px;
        line-height: .8rem; 
        display: block; /* Ensure it's displayed in the mobile menu */
    }

    .nav a::after {
        display: none; /* Disable hover pseudo-element on mobile */
    }

    .nav a:hover,
    .nav-login-link:hover { /* Disable hover effects on mobile */
        border-bottom: none;
        box-shadow: none;
        color: inherit; /* Keep original color, no hover color change */
        transform: none; /* Disable any transform effects */
    }
    .nav a:hover,
    .nav a.active {
        border-bottom: none;
        box-shadow: none;
        color: inherit; /* Keep original color, no hover color change */
        transform: none; /* Disable any transform effects */
    }

    .main-content {
        flex-direction: column;
    }
    .left-col, .right-col {
        width: 100%;
        
    }
    .left-col {
        order: 2;
        gap: 5px; /* Override percentage gap with proper pixel gap for mobile */
    }
    .right-col {
        order: 1;
        margin-top: 15px; 
    }
    .right-col-content { /* Mobile override */
        margin-top: 0px; 
        margin-right: 0; /* Or your preferred mobile right margin */
        padding-bottom: 15px; /* Add space after content in this block */
        /* letter-spacing can also be adjusted if needed for mobile */
    }
    .card { /* Mobile specific styles for .card */
        background: radial-gradient(circle at top left, rgba(193, 211, 226, .18) 0%, rgba(193, 211, 226, .6) 70%);
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        padding: 15px;
        min-height: 70px;
        margin-top: 10px;
        width: 75%; /* Changed to percentage */
        min-width: 250px;
        max-width: 80%;   
        align-items: center;
        justify-content: center;
        text-align: left;
        animation: cardFloatUp 1s ease-out forwards;
        transition: transform 0.2s ease;
        /* max-width: 95%; Removed as width is now 95% */
    }
    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    }
    .card-text {
        font-size: 1.3rem;
        
        
    }
    .card-squared { /* Mobile specific styles for .card-squared */
        background: radial-gradient(circle at top left, rgba(193, 211, 226, .18) 0%, rgba(193, 211, 226, .6) 70%);
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        padding: 15px; 
        margin-top: 20px;                           
        min-height: 150px; 
        width: 75%;
        min-width: 90%; 
        max-width: 90%;
        align-items: center;
        justify-content: center;
        text-align: center;
        animation: squareCardEntry 1s ease-out forwards;
        transition: transform 0.2s ease;
    }
    .card-squared:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    }
    .card-squared-text {
        font-size: 1.3rem;
        line-height: 1.4rem;
    }
    .action-button {
      font-family: 'Epilogue', Arial, sans-serif;
      font-weight: 300;
      background-color: #BA9338;
      color: white;
      border: none;
      padding: 12px 15px 12px 15px;
      margin-top: 15px;
      cursor: pointer;
      font-size: 0.9rem;
      text-transform: uppercase;
      width: 100%;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      line-height: 1.2;
  }
    h1 { /* Corrected from .h1 */
        font-family: 'Epilogue', Arial, sans-serif;
        font-weight: 400;
        font-size: 1.3rem; /* This will be inherited by child spans */
        line-height: 1.15;
        color: #284464;
        text-align: left;
        margin-bottom: 10px; /* Add space below h1 on mobile */
    }
    .h1-main-text {
        font-style: italic;
        font-size: 2rem;/* font-size: 1.1rem; Remove, will inherit from h1 */
        text-decoration: underline;
        text-decoration-color: #BA9338;
        text-underline-offset: 4px;
    }
    .subtitle-text {
        font-family: 'Epilogue', Arial, sans-serif; 
        font-weight: 400; 
        font-style: normal;
        font-size: 1.5rem;/* font-size: 1.1rem; Remove, will inherit from h1 */
        color: #284464; 
        text-decoration: none;
    }
    p { /* Styles for p specifically within 768px breakpoint */
       font-family: 'Nunito', Arial, sans-serif;
       font-weight: 200;
       font-size: 1.2rem; /* Example: Increased font size for mobile */
       font-style: normal;
       line-height: 1.4rem; /* Example: Adjusted line height for mobile */
       color: #1a2e45;
       /* padding-top from desktop p rule will still apply unless overridden here */
    }
    ul.ul-like-p {
      font-family: 'Nunito', Arial, sans-serif;
      font-weight: 200;
      font-size: 1.2rem; /* Updated to match p style */
      font-style: normal;
      line-height: 1.4rem; /* Updated to match p style */
      color: #1a2e45;
      padding-top: 10px; /* Matches p's padding-top */
      list-style-type: none; /* Hide default bullet for custom one */
      padding-left: 20px; /* Provides space for custom bullet */
      margin-bottom: 10px; /* Optional: space after the list */
      width: 100%; /* Ensure it takes full width as a flex item */
      align-self: flex-start; /* Override parent's baseline alignment */
  }

    .card-text {
        white-space: normal;
    }
    
    .br-desktop-only {
        display: none; /* Hidden by default */
    }

    /* Leadership page mobile adjustments */
    .leadership-main-content {
        margin-top: 20px; /* Add some top margin for the title container if screen is small */
    }

    .leadership-page-title-container {
        padding-left: 25px; /* Reduce padding for mobile */
        padding-right: 15px;
        padding-top: 40px; /* Add some right padding too */
        padding-bottom: 40px;
        
    }

    .leadership-content-row {
        flex-direction: column; /* Stack columns vertically */
        gap: 16px; /* Adjust gap for vertical stacking */
        align-items: stretch; /* Change from center to stretch */
    }

    .leadership-left-col,
    .leadership-right-col {
        width: 100%; /* Make columns full width */
        margin-right: 0; /* Remove right margin for right column */
    }

    .leadership-left-col {
        order: 1; /* Ensure left column (card) is on top */
        display: flex; /* was block, but flex with column direction is more robust for centering card */
        flex-direction: column;
        align-items: center; /* This will center the .leadership-card if its width is less than 100% */
    }

    .leadership-card {
        display: block; /* Treat card as a simple block for mobile sizing and flow */
        width: 90%; /* Make card responsive */
        max-width: 500px; /* Max width for the card on mobile */
        margin-left: auto; /* Center the card */
        margin-right: auto; /* Center the card */
        padding: 20px; /* Increase padding for more content */
        background: radial-gradient(circle at top left, rgba(193, 211, 226, .18) 0%, rgba(193, 211, 226, .6) 70%); /* Match regular cards */
        border-radius: 10px; /* Re-declare for specificity */
        box-shadow: 0 2px 4px rgba(0,0,0,0.08); /* Re-declare for specificity */
        flex-grow: 0; /* Override desktop flex-grow */
        height: auto; /* Ensure height is determined by content */
        margin-bottom: 20px; /* Add space between cards */
        animation: cardFloatUp 1s ease-out forwards;
        transition: transform 0.2s ease;
    }

    .leadership-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    }

    .leadership-right-col {
        display: none; /* Hide the separate right column on mobile since content will be in card */
    }

    /* Ensure card-text within leadership-card is styled as before if needed */
    .leadership-card .card-text {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 600;
        font-size: 1rem;
        font-style: italic;
        line-height: 1rem;
        color: #424D58;
        padding-top: 10px;
        padding-right: 0px;
        padding-left: 0px;
        padding-bottom: 10px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Ensure ALL text inside mobile leadership cards wraps properly, including nested spans */
    .leadership-card .card-text,
    .leadership-card .card-text *,
    .leadership-card .biography-text,
    .leadership-card .biography-text * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* Style for the biography text inside the card */
    .leadership-card .biography-text {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 200;
        font-size: 1.2rem;
        font-style: normal;
        line-height: 1.4rem;
        color: #1a2e45;
        margin-top: 15px;
        text-align: left;
    }

    /* New structured classes for leadership card content */
    .leadership-card .leader-name {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 600;
        font-size: 1.25rem;
        line-height: 1.4rem;
        color: #424D58;
        display: block;
        margin-bottom: 5px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .leadership-card .leader-title {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.3rem;
        color: #424D58;
        display: block;
        margin-bottom: 8px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .leadership-card .leader-contact {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 200;
        font-size: 1.0rem;
        line-height: 1.3rem;
        color: #424D58;
        display: block;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Footer mobile styles */
    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0px 10px 0px;
        position: static;
                min-height: 250px;
        position: relative; /* Added for houses animation positioning */
        background: 
            var(--footer-background-image, url('../assets/images/footer_houses.webp')) center center no-repeat,
            linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 40%),
            radial-gradient(circle at bottom right, #A7C6D9 0%, #8EACBF 60%);
        background-size: auto 200px, cover, cover; /* Image 200px height, gradients cover */
        background-position: center center, center top, center top;
    }
    .footer-images {
        flex-direction: column;
        align-items: flex-start; /* Align items to the left on mobile */
        gap: 15px;
        width: 100%; /* Allow items to align to flex-start */
        margin-top: 20px;
        order: 1;
        /* align-items: center; /* This was optional, using flex-start now */
    }
    .footer-text {
        order: 2;
        font-size: 1rem;
    }
    
    .footer-image-soc { /* Styles for the div containing the SOC image */
        width: 150px; /* Explicit width for mobile SOC container */
        /* max-width removed as width is now explicit */
        /* margin-left/right auto not needed with parent align-items: flex-start */
    }
    .footer-image-asset { /* Styles for the div containing the Asset image */
        max-width: 100%;
        margin-bottom: 15px; /* Explicit width for mobile Asset container */
        /* max-width removed as width is now explicit */
        /* margin-left/right auto not needed with parent align-items: flex-start */
    }
    /* The specific .footer-image-asset img rule for mobile is removed as it's covered by new desktop img rules and container sizing. */
}
.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 5px 0; /* No horizontal padding */
    box-sizing: border-box;
    position: relative; /* Added for houses animation positioning */
    background: 
        var(--footer-background-image, url('../assets/images/footer_houses.webp')) center center no-repeat,
        linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 40%),
        radial-gradient(circle at bottom right, #A7C6D9 0%, #8EACBF 60%);
    background-size: auto 200px, cover, cover; /* Image 200px height, gradients cover */
    background-position: 70% 15%, center top, center top;
    min-height: 250px; /* Ensure footer has enough height to show background */
}
.footer-text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #0B242A;
    letter-spacing: 0.02em;
    margin-left: 10px;
}
.footer-images {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px; /* Adjusted gap for better separation */
    margin-right: 0px;
}
.footer-image-placeholder {
    width: 125px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.footer-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.footer-image-soc {
    width: 125px; /* Desktop width for SOC image container */
    /* Filter is now applied to the img tag directly */
}
.footer-image-soc img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* Good for logos */
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
}

.footer-image-asset {
    width: 475px; /* Desktop width for Asset image container */
    /* padding-bottom and padding-right removed */
}
.footer-image-asset img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2)); /* Consistent filter */
}

@media (max-width: 1000px) {
    h3 {
        font-size: 2rem;
        line-height: 2.3rem;
    }
    h2 {
        font-size: 1.3rem;
        line-height: 1.3rem;
    }
    p { /* Styles for p specifically within 1000px breakpoint */
        font-family: 'Nunito', Arial, sans-serif; /* Ensuring full properties from base p */
        font-weight: 200;
        font-size: 1.2rem; /* Increased to match 768px block */
        font-style: normal;
        line-height: 1.4rem; /* Adjusted to match 768px block */
        color: #1a2e45;
        /* padding-top from desktop p rule will still apply unless overridden here */
    }
}

/* CSS for conditional line breaks */
.br-desktop-only {
    display: none; /* Hidden by default */
}

@media (min-width: 1000px) { /* Desktop breakpoint */
    .br-desktop-only {
        display: inline; /* Shown on desktop */
    }
}

/* Top Login Bar Styles */
.top-login-bar {
    display: flex; /* Restore login bar */
    align-items: center; /* Vertically center items */
    background-color: #e8f2f7a5;
    padding: 8px 15px;
    position: absolute;
    top: 0; /* Push down to make room for header background */
    right: 0;
    z-index: 1001;
    box-sizing: border-box;
    font-family: 'Epilogue', Arial, sans-serif;
    border-radius: 0 0 0 6px;
    height: 40px;
}


.login-toggle {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 6%;
    color: #1a2e45;
    text-decoration: underline;
    text-decoration-color: #BA9338;
    text-underline-offset: 4px;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

/* Initially hide the form fields using max-width and overflow */
.login-form-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Styles for when the form is expanded */
.top-login-bar.expanded .login-form-fields {
    max-width: 500px;
    opacity: 1;
}

.login-form-fields input[type="text"],
.login-form-fields input[type="password"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 150px;
}

.login-button {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 300;
    background-color: #BA9338;
    color: white;
    border: none;
    padding: 10px 15px 6px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.login-button:hover {
    background-color: #a17e2e;
}

.right-col-content {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap; /* Added 20px top spacing */
}

.right-col-content.right-col-text-block {
    display: block;
}

/* Styles for text links within .right-col-text-block */
.right-col-content.right-col-text-block p a {
    color: #1a2e45;
    text-decoration: underline;
}

.right-col-content.right-col-text-block p a:hover {
    color: #3C2E59;
    text-decoration: underline;
}

.right-col-content h1,
.right-col-content h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.right-col-content {
    margin-top: -30px;
    margin-right: 20px;
    letter-spacing: 0.02em;
}

.right-col-text-block {
    margin-top: 0px;
}

.subtitle-text {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #284464;
    text-decoration: none;
}

.mobile-login-form {
    display: none;
    flex-direction: column;
    width: 100%; 
    padding: 10px;
    box-sizing: border-box;
}

.mobile-login-form input[type="text"],
.mobile-login-form input[type="password"] {
    margin-bottom: 8px;
    width: 80%; 
    margin: 5px auto;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.mobile-login-form .login-button {
    width: 50%;
    padding: 18px 15px 14px 15px;
    font-size: 1.2rem;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
  
html {
    height: 100%; 
}
  
.card-squared {
    background: radial-gradient(circle at top left, rgba(193, 211, 226, .18) 0%, rgba(193, 211, 226, .6) 70%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 30px;
    width: 250px;
    max-width: 100%;
    min-height: 150px; 
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: squareCardEntry 1s ease-out forwards;
    transition: transform 0.2s ease;
}

.action-button {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.04em;
    background-color: #BA9338;
    color: white;
    border: none;
    padding: 15px 20px 12px 20px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.action-button:hover {
    background-color: #BA9338;
    transform: scale(1.05);
    
}

/* Style for the new anchor tags around action buttons */
a.action-button-link,
a.action-button-link:hover,
a.action-button-link:visited {
    text-decoration: none;
    color: inherit; /* Inherit color from child .action-button div */
}

/* Leadership Page Specific Styles */
@media (min-width: 769px) {
    .leadership-main-content {
        display: flex;
        flex-direction: column; /* Ensure content-rows stack vertically */
        gap: 20px; /* Reduced gap between rows */
        margin-top: 120px; /* Match main-content to account for absolutely positioned header */
        flex-grow: 1;
    }

    .leadership-content-row {
        display: flex; /* Arrange left-col and right-col horizontally */
        flex-direction: row; /* Default, but explicit */
        gap: 3%; /* Changed from 32px to percentage to match main-content */
        align-items: stretch; /* Make columns same height */
        min-width: 0; /* Allow shrinking below content size */
    }

    .leadership-left-col {
        width: 22%;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
    }

    .leadership-card {
        background: radial-gradient(circle at top left, rgba(193, 211, 226, .18) 0%, rgba(193, 211, 226, .6) 70%);
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        padding: 15px;
        width: 250px;
        max-width: 100%;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        animation: cardFloatUp 1s ease-out forwards;
        transition: transform 0.2s ease;
    }

    .leadership-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    }

    .leadership-right-col {
        width: 75%;
        padding: 0px 24px;
        margin-right: 50px;
        min-width: 0;
    }

    /* Ensure card-text within leadership-card is styled as before if needed */
    .leadership-card .card-text {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 600;
        font-size: 1rem;
        font-style: italic;
        line-height: 1rem;
        color: #424D58;
        padding-top: 10px;
        padding-right: 0px;
        padding-left: 0px;
        padding-bottom: 10px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Desktop structured classes for leadership card content */
    .leadership-card .leader-name {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 600;
        font-size: 1.25rem;
        line-height: 1.4rem;
        color: #424D58;
        display: block;
        margin-bottom: 5px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .leadership-card .leader-title {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.3rem;
        color: #424D58;
        display: block;
        margin-bottom: 8px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .leadership-card .leader-contact {
        font-family: 'Nunito', Arial, sans-serif;
        font-weight: 200;
        font-size: 1.0rem;
        line-height: 1.3rem;
        color: #424D58;
        display: block;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .leadership-page-title-container {
        display: block;
        padding-left: calc(22% + 3% + 13px);
        margin-top: 10px;
        margin-bottom: 0px;
        margin-right: 0px;
        width: 100%;
        box-sizing: border-box;
    }

    .leadership-page-title-container h1 {
        transform-origin: left center; /* Use left center for leadership page due to padding */
    }
    
    .leadership-page-title-container .h1-main-text {
        text-align: left;
    }

    /* Ensure ALL content within leadership cards wraps properly */
    .leadership-card,
    .leadership-card * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Gap div for spacing */
.gap-div {
    height: 5px;
    width: 100%;
}

/* 1px spacer line - 40% width with animation */
.spacer-line {
    width: 100%;
    height: 1px;
    margin: 20px 0;
    position: relative;
}

.spacer-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* Start with 0 width */
    height: 1px;
    background-color: #BA9338;
    animation: lineGrow 0.6s ease-out forwards;
}

@keyframes lineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 40%;
    }
}

/* Social Icons Section */
.social-icons-section {
    margin-top: 0px;
    margin-bottom: 10px;
}

.social-icons-title {
    font-family: 'Epilogue', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: #284464;
    margin-bottom: 15px;
    text-align: left;
}

.social-icons-container {
    display: flex;
    gap: 20px;
    align-items: left;
}

.social-icon-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
    
}

/* Special styling for the logo in social icons */
.social-icon-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0);
    padding: 4px;
}

/* Mobile styles for social icons */
@media (max-width: 768px) {
    .social-icons-section {
        
        margin-bottom: 15px;
        text-align: left;
    }
    
    .social-icons-title {
        font-size: 1.2rem;
        text-align: left;
        margin-bottom: 12px;
    }
    
    .social-icons-container {
        justify-content: flex-start;
        gap: 25px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon-logo {
        width: 45px;
        height: 45px;
        padding: 5px;
    }
}

/* Email link styling for leadership cards */
.leadership-card .email-link,
.leadership-card .email-link:visited {
    color: #1a2e45;
    text-decoration: underline;
    text-decoration-color: #1a2e45;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.leadership-card .email-link:hover {
    
    text-decoration-color: #BA9338;
}

/* URL link styling for contact us page */
.right-col-content.right-col-text-block a,
.right-col-content.right-col-text-block p a,
.footer-text a {
    color: #1a2e45;
    text-decoration: underline;
    text-decoration-color: #1a2e45;
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s ease;
}

.right-col-content.right-col-text-block a:hover,
.right-col-content.right-col-text-block p a:hover,
.footer-text a:hover {
    color: #1a2e45;
    text-decoration-color: #BA9338;
}

/* Full name styling in leadership biography text */
.leadership-right-col .first-name-bold {
    font-weight: 400; /* Slightly bolder than the default 200 weight of p text */
}

/* Vendor support link styling */
.vendor-support-link,
.vendor-support-link:visited {
    color: #1a2e45;
    text-decoration: underline;
    text-decoration-color: #1a2e45;
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s ease;
}

.vendor-support-link:hover {
    color: #1a2e45;
    text-decoration-color: #BA9338;
}

/* Remove bottom margin from the last content element before the footer */
.right-col-content.right-col-text-block > p:last-child,
.right-col-content.right-col-text-block > ul.ul-like-p:last-child {
    margin-bottom: 0px;
}

/* New styles for the content wrapper */
.page-content-wrapper {
    width: 100%;
    padding: 0 30px; /* Applies the horizontal padding for content */
    box-sizing: border-box;
    flex-grow: 1; /* Helps push footer down if body is flex column */
    /* You might also want a max-width here if your design isn't full-width for content */
    /* e.g., max-width: 1200px; margin-left: auto; margin-right: auto; */ 
}

/* Mobile padding for page-content-wrapper */
@media (max-width: 768px) {
    .page-content-wrapper {
        padding: 0 15px;
    }
}

/* Right arrow styling */
p .arrow-right {
    color: #BA9338;
    font-size: 1.2rem; /* Match paragraph font size */
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 200;
    margin-left: 4px; /* Small space between text and arrow */
    display: inline-block;
    transition: transform 0.2s ease;
}

p:hover .arrow-right {
    transform: translateX(4px); /* Slight movement on hover */
}
  