@font-face {
    font-family: Salesforce Sans;
    src: url('assets/fonts/SalesforceSans-Regular.ttf') format("truetype");
}
html {
    background-color: #F5F5F5 !important; /* Updated background color */
}
body {
    font-family: 'Salesforce Sans', Arial, sans-serif; /* Default to Salesforce Sans */
    background-color: #F5F5F5 !important; /* Updated background color */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack header on top */
    height: 100vh;
}
html, body{
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto; /* Header, Content, Footer */
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF; /* Changed header background to white */
    padding: 1rem 3rem;
    color: #00a1e0; /* Set text color to Salesforce blue */
    min-height: 73px;   
    position: sticky;
    top: 0; 
    z-index: 999;
}
.footer {
    width: 100%;
    background-color: white;
    flex-direction: column; /* Stack elements */
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    margin-top: auto;
}
.hero {
    min-height: 256px; /* Ensures the hero does not shrink */
    width: 100%;
    height: 256px; /* Increased height for better visual effect */
    background: url('assets/hero/golden-sun.png') no-repeat center center;
    background-size: cover;
    background-color: #F5F5F5 !important; /* Updated background color */
    position: relative;
}
.alert-banner-hero {
    min-height: 256px; /* Ensures the hero does not shrink */
    width: 100%;
    height: 256px; /* Increased height for better visual effect */
    background: url('assets/hero/highland-waterfalls.png') no-repeat center center;
    background-size: cover;
    background-color: #F5F5F5 !important; /* Updated background color */
    position: relative;
}
.experience-hero {
    min-height: 256px; /* Ensures the hero does not shrink */
    width: 100%;
    height: 256px; /* Increased height for better visual effect */
    background: url('assets/hero/tropical-beach.png') no-repeat center center;
    background-size: cover;
    background-color: #F5F5F5 !important; /* Updated background color */
    position: relative;
}
.header-logo {
    height: 31px; /* Adjust logo size */
}
.header-nav {
    display: flex;
    gap: 2rem;
    margin-left: 2rem; /* Add margin to create spacing between text and links */
}
.header-content {
    display: flex;
    align-items: center;
}
.header-text {
    font-size: 24px;
    font-weight: bold;
    color: #032d60;
    transition: color 0.3s ease;
    margin-right: 12px; /* Add margin to separate text from links */
}
.header-text:hover {
    color: #0070D2;
}
.header-link {
    text-decoration: none !important; /* Force remove underline */
    color: #032d60; /* Default color */
    transition: color 0.3s ease; /* Smooth color transition */
}

.header-link:hover {
    color: #0070D2; /* Highlight color on hover */
}

.header-text a {
    text-decoration: none !important; /* Ensure no underline */
}

.header-nav a {
    font-size: 16px; /* Slightly smaller than the header text */
    font-weight: bold;
    color: #032d60;
    text-decoration: none;
    transition: color 0.3s ease;
}
.header-nav a:hover {
    color: #0070D2;
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bolder;
    color: #032d60;
}
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;  /* Distribute space between left and right */
    width: 90%;                      /* Adjust width as needed */
    margin: 0 auto;                  /* Center the container horizontally */
    margin-top: -80px;
    z-index: 10;
}
.left-section {
    width: 70%; /* Set left section to 70% of the container width */
    padding: 1.5rem;
    border-radius: 8px;        
}
.right-section {
    width: 30%; /* Set right section to 30% of the container width */
    padding: 1.5rem;
    border-radius: 8px;        
}
    /* Center any full-width card in the left section */
    .left-section .slds-card {
        margin: 20px auto; /* Auto left/right centers the card */
    }

    /* Center cards in the right section as well */
    .right-section .slds-card {
        margin: 20px auto;
        margin-top: 0;
    }
    .left-section .slds-card {
        margin: 20px auto;
        margin-top: 0;
    }

    .slds-media__body {
        margin-bottom: 12px;
    }
    .slds-text-body_regular {
        margin-right: 12px;
    }
    .avatar-container {
    position: relative;
    width: 180px; /* Set the width of the image container to 180px */
    height: 180px; /* Set the height of the image container to 180px */
    margin-top: -45px; /* Adjust to control how much the image overflows */
}
.avatar-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Circular image */
    object-fit: cover; /* Ensures the image covers the area proportionally */
    border: 6px solid white; /* 6px solid white border */
}
h1 {
    font-size: 24px; /* Adjusted size for the name */
    font-weight: bold;
}
.title {
    font-size: 20px; /* Set the title font size */
}
.address {
    font-size: 16px; /* Set the address font size */
    color: #585858; /* Custom color for address */
}
.bio-card {
    font-size: 16px; /* Set the bio font size */
}
.placeholder-card {
    border: 1px solid #d8dde6;
    padding: 1rem;
    background-color: #fff;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure it takes up full width */
    border-radius: 8px;        
}
.job-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Similar shadow effect */
    padding: 20px;
    transition: transform 0.3s ease;
}
.job-card-container {
    width: 75%; /* Set left section to 70% of the container width */
    padding: 1.5rem;
    border-radius: 8px;        
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff; /* Background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow for floating effect */
    z-index: 10; /* Ensure it appears above the hero background */
    min-height: 100%;
}
.slds-card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhance shadow for floating effect */
}
/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0; /* Margin between social links and bio */
}
.social-links a {
    text-decoration: none;
    font-size: 20px;
    color: #00a1e0;
}
.social-links a:hover {
    color: #005B7F; /* Darker shade of blue on hover */
}
.slds-text-link:hover {
    color: #0070D2 !important;
}
.right-section .slds-button:hover {
    background-color: #e0e0e0 !important;  /* Light grey on hover */
    color: #424242 !important;  /* Dark text on hover */
}
/* Mega Menu Styling */
.mega-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 20px;
    border-radius: 8px;
    z-index: 999;
    top: 100%;
    left: 0;
    border: 2px solid #d8dde6;
}

.mega-menu:before {
    content: '';
    position: absolute;
    top: -8px; /* Adjust as needed */
    left: 25%; /* Adjust this value to move the arrow */
    transform: translateX(-50%) rotate(45deg); /* Keep the transform */
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border-top: 2px solid #d8dde6;
    border-left: 2px solid #d8dde6;
    box-sizing: border-box;
}

.mega-menu-content {
    font-size: 16px;
}

.mega-menu h3 {
    font-size: 20px;
    color: #0070D2;
    margin-bottom: 10px;
}

.mega-menu ul {
    list-style-type: none;
    padding: 0;
}

.mega-menu ul li {
    margin: 5px 0;
}

.mega-menu ul li a {
    color: #032d60;
    text-decoration: none;
}

.mega-menu ul li a:hover {
    color: #0070D2;
}

/* Show Mega Menu on Hover - using parent hover */
.header-nav a:hover ~ .mega-menu {
    display: block;
}

/* Position Mega Menus */
#home-menu {
    top: 95px; /* Adjust based on header height */
    left: 255px;
}

#experience-menu {
    top: 95px;
    left: 350px; /* Adjust to position it beside the previous menu */
}

#alert-banner-menu {
    top: 95px;
    left: 475px; /* Adjust to position it beside the previous menu */
}
/* Experience Card Styling */
.experience-card {
    width: 100%;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    font-family: 'Salesforce Sans', Arial, sans-serif;
}

/* Header: Company Logo and Job Info */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 10%;
    height: 100%;
    border-radius: 8%;
    margin-right: 1rem;
}

.job-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.job-header p {
    font-size: 16px;
    color: #585858;
    margin: 2px 0;
}

.job-title {
    font-weight: normal;
}

.job-dates {
    font-style: italic;
    color: #a1a1a1;
}

/* Accomplishments List */
.job-accomplishments {
    margin-bottom: 1.5rem;
}

.accomplishments {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 16px;
}

.accomplishments li {
    margin-bottom: 10px;
}

/* Skills Section */
.job-skills {
    font-size: 16px;
    margin-bottom: 1rem;
}

.job-skills strong {
    color: #333;
}

/* Job Description Section */
.job-description {
    font-size: 16px;
    color: #585858;
}

.job-description strong {
    font-weight: bold;
    color: #333;
}
.education-card {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.education-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.education-logo {
    width: 20%;
    height: 100%;
    border-radius: 8%;
    margin-right: 1rem;
}

.education-info h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.education-info p {
    font-size: 16px;
    color: #585858;
    margin: 2px 0;
}

.education-details {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 16px;
    color: #444;
}
.image-description-card {
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to the image */
    background: #fff; /* Card background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    text-align: center; /* Center text */
}

.card-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Removes unwanted spacing */
}

.card-description {
    padding: 1rem;
}
.highlights-card {
    width: 320px; /* Adjust as needed */
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft floating effect */
}

.highlights-list {
    margin-top: 0.75rem;
    padding-left: 1rem;
    font-size: 16px;
    color: #444; /* Subtle text color */
}

.highlights-list li {
    margin-bottom: 0.5rem;
}
.full-width-button {
    width: 100%; /* Make button span full width */
    color: #0070D2;
    background-color: white;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid #0070D2;
    border-radius: 4px;
}

.full-width-button:hover {
    background-color: #f3f3f3;
}

.full-width-button svg {
    fill: #0070D2;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.slds-text-align_right {
    margin-right: 12px;
}

/* Fix Trailblazer Button Truncation Issue */
.slds-text-link {
    white-space: normal; /* Allow text to wrap */
    display: inline-flex;
    align-items: center; /* Center text vertically */
    gap: 8px; /* Spacing between icon and text */
    flex-wrap: wrap; /* Allow flex items to wrap */
    vertical-align: middle; /* Align with the icon */
}

#trailblazer-link-container {
    max-width: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    /* Main container (already defined) */
    .container {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        width: 100%;
        gap: 0;           /* Remove any flex gap */
        min-height: 100%;
        position: relative;
        z-index: 10;
    }
    .left-section, .right-section {
        width: 100%; /* Full width on mobile */
        margin-bottom: 0;
        padding-bottom: 0;
        padding-left: 3%;
        padding-right: 3%;

    }
    .right-section {
        margin-top: 0;
        padding-bottom: 0;
        padding-top: 0;
    }

    .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF; /* Changed header background to white */
    padding: 1rem 3rem;
    color: #00a1e0; /* Set text color to Salesforce blue */
    min-height: 96px;   
    position: sticky;
    top: 0; 
    z-index: 999;
    }
.footer {
    width: 100%;
    background-color: white;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    margin-top: auto;
}
/* Header navigation menu (initial state: hidden on mobile) */
.header-nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 68px; /* Position below the header */
    left: 0;
    width: 100%; /* Full width menu */
    background-color: white;
    z-index: 1000; /* Above other elements */
    flex-direction: column;
    padding-top: 16px; /* Padding on top for spacing */
    max-height: 80vh; /* Limit the height to avoid overflow */
    overflow-y: auto; /* Allow scrolling for many items */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth open/close animation */
    gap: 0px;
    margin-left: 0px;
}

/* Show the menu when active */
.header-nav.show {
    display: block;
    opacity: 1; /* Make fully visible */
    transform: translateY(0); /* Slide in effect */
}

/* Initially hidden state */
.header-nav {
    display: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: visibility 0s 0.3s, opacity 0.3s ease, transform 0.3s ease; /* Ensure smooth transition */
}

/* Navigation link styling */
.header-nav a {
    display: block;
    padding: 16px 24px; /* Proper padding for readability */
    font-size: 24px;
    font-weight: bold; /* Optional, for better emphasis */
    text-align: left;
    width: 100%;
    color: #032d60; /* Dark text for better contrast */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effects */
}

/* Navigation link hover effect */
.header-nav a:hover,
.header-nav a:focus {
    background-color: #f0f0f0; /* Light background on hover */
    color: #0070d2; /* Change text color on hover */
}

/* Accessibility improvements for focus states */
.header-nav a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 161, 224, 0.5); /* Custom focus indicator */
}

    .header-nav {
        top: 68px; /* Adjust for smaller screens */
    }

    .header-nav a {
        font-size: 20px; /* Adjust font size for readability on small screens */
    }

    .header-nav a:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
        position: absolute;
        right: 32px; /* Adjust spacing from the right edge */
        top: 50%;
        transform: translateY(-50%); /* Vertically center the icon */
    }

    .header {
        flex-direction: row; /* Keep header in a row on mobile */
        min-height: 56px;
    }

    .header-content {
        display: flex;
        align-items: center;
    }

    /* Show menu when active */
    .header-nav.active {
        display: flex;
    }
    .slds-button {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 16px;
    }
    body {
        font-size: 18px;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    html {
        scroll-behavior: smooth;
        touch-action: manipulation;
    }
    input, textarea {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }    
/* Stack Message Button and Align Properly */
.slds-card__footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Adds spacing between elements */
    width: 100%;
}

.slds-m-top_small {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; text-align: center;
    align-items: center;
}

.no-border.slds-button {
    width: 100%; /* Make button full width */
    display: flex;
    justify-content: center; text-align: center;
    align-items: center;
    height: 48px; /* Ensure uniform button height */
}
/* Fix Trailblazer Button Truncation Issue */
.footer-section {
    flex-direction: column;
    gap: 16px; /* Optional: adds vertical spacing between rows */
  }
  /* Optionally center each button on mobile */
  .footer-section a {
    width: 100%;
    text-align: center;
  }

#trailblazer-button-container{
    justify-content: center; text-align: center;
}
#trailblazer-button{
    font-weight: bold;
    color: #0070D2 !important;
}
.hero {
    min-height: 128px; /* Ensures the hero does not shrink */
    width: 100%;
    height: 128px; /* Increased height for better visual effect */
}
.experience-hero {
    min-height: 128px; /* Ensures the hero does not shrink */
    width: 100%;
    height: 128px; /* Increased height for better visual effect */
}
.alert-banner-hero {
    min-height: 128px; /* Ensures the hero does not shrink */
    width: 100%;
    height: 128px; /* Increased height for better visual effect */
}
.bio-card-container {
    flex-direction: column;      /* Stack items vertically */
    align-items: center;         /* Center content horizontally */
    text-align: center;          /* Center text within each block */
  }
  
  /* Remove the right margin on the image container and add spacing below */
  .bio-card-container .avatar-container {
    margin-right: 0;
    margin-bottom: 1rem;
  }


}