/* ==========================================================================
   Global Styles & Variables
   ========================================================================== */
:root {
    --primary-brand-color: #0e387a;
    --secondary-accent-color: #7d8da9;
    /* Darkened for better contrast */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --neutral-text-color: #212529;
    /* Darkened for better contrast */
    --light-text-color: #f8f9fa;
    --dark-text-color: #212529;
    --light-bg-color: #f8f9fa;
    --light-blue-bg-color: #e7f1ff;
    --border-color: #dee2e6;
}

/* ==========================================================================
   Base Layout & Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
    background-color: var(--light-bg-color);
    color: var(--neutral-text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    /* Base font size */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.u-bg-primary-brand {
    background-color: var(--primary-brand-color);
}

.u-bg-light-blue {
    background-color: var(--light-blue-bg-color);
}

.u-text-primary-brand {
    color: var(--primary-brand-color);
}

.u-bg-secondary-accent {
    background-color: var(--secondary-accent-color);
}

.u-text-secondary-accent {
    color: var(--secondary-accent-color);
}

/* ==========================================================================
   Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.c-navbar {
    border-bottom: 10px solid var(--secondary-accent-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.c-navbar__brand {
    color: var(--light-text-color);
    font-weight: 300;
}

.c-navbar__button {
    background-color: #f0f0f0;
    border: 1px solid var(--border-color);
    color: var(--dark-text-color);
}

.c-navbar__button:hover {
    background-color: var(--primary-brand-color);
    color: var(--light-text-color);
    border-color: var(--light-text-color);
}

.c-navbar__button--primary {
    background-color: var(--primary-brand-color);
    color: var(--light-text-color);
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
    border: 1px solid var(--light-text-color);
}

.c-navbar__button--primary:hover {
    background-color: var(--light-text-color);
    border-color: var(--secondary-accent-color);
    color: var(--primary-brand-color)
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.c-button {
    background-color: var(--light-bg-color);
    border-color: var(--secondary-accent-color);
    color: var(--dark-text-color);
}

.c-button:hover {
    background-color: var(--primary-brand-color);
    color: var(--light-bg-color);
    border-color: var(--light-bg-color);
}

.c-button--secondary {
    background-color: var(--primary-brand-color);
    color: var(--light-text-color);
    border-color: var(--light-bg-color);
}

.c-button--secondary:hover {
    background-color: var(--light-bg-color);
    border-color: var(--secondary-accent-color);
    color: var(--dark-text-color);
}

.c-button--link:hover {
    background-color: transparent;
}

.c-button--lg {
    border-color: var(--secondary-accent-color)
}

.c-button--lg:hover {
    background-color: var(--primary-brand-color);
    color: var(--light-text-color);
    border-color: var(--primary-brand-color);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.c-card {
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.c-card__title {
    color: var(--primary-brand-color);
}

.c-card__title-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    filter: invert(16%) sepia(68%) saturate(2311%) hue-rotate(204deg) brightness(93%) contrast(95%);
}

.c-card--interactive {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.c-card--interactive:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

#health-journal-card img {
    filter: invert(16%) sepia(68%) saturate(2311%) hue-rotate(204deg) brightness(93%) contrast(95%);
}


/* --------------------------------------------------------------------------
   Offcanvas Sidebar
   -------------------------------------------------------------------------- */
.c-offcanvas__header {
    border-bottom: 1px solid var(--border-color);
}

.c-offcanvas__title {
    color: var(--primary-brand-color);
    font-weight: 600;
}

.c-offcanvas__body .c-card {
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.c-offcanvas__body .c-card__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.c-offcanvas__icon {
    width: 24px;
    height: 24px;
    color: var(--primary-brand-color);
}

/* ==========================================================================
   Page-Specific Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Dashboard
   -------------------------------------------------------------------------- */
.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--secondary-accent-color);
    border-radius: 0.5rem;
    background-color: var(--secondary-accent-color);
    color: var(--light-text-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.quick-action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: #5a6a7a;
    /* A slightly darker shade of the accent color */
    color: var(--light-text-color);
}

.quick-action-btn img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
    /* This will turn the icons white */
}

.quick-action-btn span {
    font-weight: 500;
}

.p-dashboard__deep-dive-link {
    text-decoration: underline;
    text-decoration-color: var(--primary-brand-color);
    text-decoration-thickness: 2px;
    cursor: pointer;
}

#consulted-specialists ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#consulted-specialists li {
    background-color: var(--light-bg-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Chat & Modals
   -------------------------------------------------------------------------- */
.c-chat-history {
    overflow-y: auto;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Allow chat history to take up available space */
}

#chatModal .modal-dialog {
    max-width: 800px;
}

#chatModal .modal-content {
    height: 80vh;
    display: flex;
    flex-direction: column;
}

#chatModal .modal-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

#chatModal .modal-footer {
    flex-shrink: 0;
}

.c-chat-history__message {
    margin-bottom: 15px;
    max-width: 85%;
    word-wrap: break-word;
}

.c-chat-history__message--user {
    text-align: right;
    margin-left: auto;
}

.c-chat-history__message--ai {
    text-align: left;
    background-color: #e7f1ff;
    padding: 10px 15px;
    border-radius: 12px;
    margin-right: auto;
}

.c-chat-history__message--model {
    text-align: left;
    background-color: #e7f1ff;
    padding: 10px 15px;
    border-radius: 12px;
    margin-right: auto;
}

.c-modal__footer .form-control-lg,
.c-modal__footer .btn-lg {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
}

#chat-input {
    resize: none;
    overflow-y: hidden;
    transition: height 0.2s ease;
    max-height: 120px;
    /* Limit the max height of the textarea */
}

#chat-input::placeholder {
    font-size: 1rem;
    /* Or any other size that fits well */
    vertical-align: middle;
}

.health-journal-accordion .accordion-item {
    border-radius: 0;
    border: 1px solid var(--border-color);
}

.health-journal-accordion .accordion-button {
    background-color: var(--light-bg-color);
    color: var(--dark-text-color);
}

.health-journal-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-brand-color);
    color: var(--light-text-color);
}


/* --------------------------------------------------------------------------
   Welcome Page
   -------------------------------------------------------------------------- */
.p-welcome__section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.p-welcome__content-column {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-welcome__section .display-4 {
    font-weight: 700;
    color: var(--primary-brand-color);
}

.p-welcome__section .lead {
    color: #5a6a7a;
    font-weight: 400;
}

.p-welcome__visual-column {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.p-welcome__pulsing-circles {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    position: relative;
}

.p-welcome__pulsing-circles circle {
    fill: var(--primary-brand-color);
    opacity: 0.1;
    animation: pulse 4s infinite ease-in-out;
}

.p-welcome__pulsing-circles circle:nth-child(2) {
    animation-delay: 1s;
}

.p-welcome__pulsing-circles circle:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.1;
    }

    50% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.1;
    }
}

/* --------------------------------------------------------------------------
   Loading Page
   -------------------------------------------------------------------------- */
.p-loading__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 150px);
    /* Adjust based on nav/footer height */
}

.c-progress-bar__container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    /* Align items to the top */
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.c-progress-bar__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    position: relative;
}

.c-progress-bar__step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-accent-color);
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--secondary-accent-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    z-index: 2;
}

.c-progress-bar__step-label {
    margin-top: 0.75rem;
    font-weight: 500;
    color: var(--secondary-accent-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.c-progress-bar__connector {
    flex-grow: 1;
    height: 4px;
    background-color: var(--secondary-accent-color);
    margin-top: 18px;
    /* Align with center of circles */
    transition: background-color 0.3s ease;
    z-index: 1;
}

/* Active State */
.c-progress-bar__step.active .c-progress-bar__step-circle {
    background-color: var(--primary-brand-color);
    border-color: var(--primary-brand-color);
}

.c-progress-bar__step.active .c-progress-bar__step-label {
    color: var(--primary-brand-color);
}

/* Completed State */
.c-progress-bar__step.completed .c-progress-bar__step-circle {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.c-progress-bar__step.completed .c-progress-bar__step-label {
    color: var(--success-color);
}

.c-progress-bar__step.completed+.c-progress-bar__connector {
    background-color: var(--success-color);
}


#loading-animation-container {
    min-height: 150px;
    gap: 1.5rem;
    /* Use gap for responsive spacing */
    padding: 1rem 0;
}

.bouncing-specialist-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 1.5s infinite ease-in-out alternate;
}

.specialist-emoji {
    font-size: clamp(3rem, 8vw, 4rem);
    /* Responsive font size */
    margin-bottom: 0.25rem;
}

.specialist-name {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    /* Responsive font size */
    color: var(--dark-text-color);
    font-weight: 500;
    text-align: center;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-15px);
    }
}

#engaging-content-container {
    transition: opacity 0.5s ease-in-out;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#engaging-snippet {
    transition: opacity 0.5s ease-in-out;
    min-height: 50px;
    /* Prevent layout shift */
}


/* --------------------------------------------------------------------------
   Forms & Alerts
   -------------------------------------------------------------------------- */


.btn-group-selectable {
    display: flex;
    gap: 10px;
}

.btn-group-selectable input[type="radio"] {
    display: none;
}

.btn-group-selectable label {
    flex-grow: 1;
    text-align: center;
}

.btn-group-selectable input[type="radio"]:checked+label {
    background-color: var(--primary-brand-color);
    color: white;
    border-color: var(--primary-brand-color);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Global section spacing reduction for landing page */
section#how-it-works .container,
section#features .container,
section#mission .container,
section#team .container,
section#contact .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Alternating background colors for visual grepping */
#how-it-works {
    background-color: #ffffff;
}

#features {
    background-color: #f8f9fa;
}

#mission {
    background-color: #ffffff;
}

#team {
    background-color: #f8f9fa;
}

#contact {
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

@media (max-width: 768px) {

    /* Landing Page Mobile Adjustments */
    .p-landing__hero {
        padding: 2.5rem 0 3rem !important;
    }

    .p-landing__cta-section .btn {
        font-size: 0.9rem;
    }

    /* Reduce section spacing on mobile */
    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .p-landing__cta-section {
        padding: 2.5rem 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .quick-actions-bar {
        gap: 1%;
    }

    .quick-action-btn {
        flex: 1;
        aspect-ratio: 1 / 1;
    }

    .quick-action-btn img {
        width: clamp(28px, 8vw, 40px);
        height: clamp(28px, 8vw, 40px);
        margin-bottom: 0.5rem;
    }

    .quick-action-btn span {
        font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    }

    .col-3 {
        padding: 1%;
    }

    #chatModal .modal-dialog {
        margin: 0;
        width: 100%;
        height: 100%;
        max-width: none;
    }

    #chatModal .modal-content {
        height: 100%;
        border-radius: 0;
        border: none;
    }

    #chatModal .modal-header {
        flex-shrink: 0;
    }

    #chatModal .modal-body {
        padding-bottom: 1rem;
    }

    #chatModal .modal-footer {
        padding-top: 0;
        border-top: none;
    }
}

@media (max-width: 576px) {
    .c-navbar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom-width: 5px;
    }

    .p-loading__container {
        min-height: calc(100vh - 100px);
    }

    .c-progress-bar__step-circle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        border-width: 2px;
    }

    .c-progress-bar__step-label {
        font-size: 0.75rem;
    }

    .c-progress-bar__connector {
        margin-top: 14px;
        height: 3px;
    }

    #loading-animation-container {
        min-height: 120px;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .specialist-emoji {
        font-size: 2.5rem;
    }

    .specialist-name {
        font-size: 0.7rem;
    }

    #engaging-content-container {
        margin-top: 1.5rem !important;
        padding: 1rem !important;
    }
}

/* --------------------------------------------------------------------------
   Chat History List
   -------------------------------------------------------------------------- */
.history-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    padding: 0;
    /* Reset padding for flex layout */
    overflow: visible;
    /* Allow dropdown to spill out */
}

.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: var(--secondary-accent-color);
}

.history-item__content {
    padding: 1rem;
    flex-grow: 1;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-item__content:hover {
    text-decoration: none;
    color: inherit;
}

.history-summary {
    font-weight: 600;
    color: var(--primary-brand-color);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.history-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.history-actions {
    display: flex;
    align-items: center;
    padding-right: 0.5rem;
}

.history-actions .dropdown-toggle {
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.history-actions .dropdown-toggle:hover,
.history-actions .dropdown-toggle[aria-expanded="true"] {
    background-color: #f8f9fa;
    color: var(--primary-brand-color);
}

.history-actions .dropdown-toggle::after {
    display: none;
    /* Hide default caret */
}

.history-actions .dropdown-menu {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.history-actions .dropdown-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-actions .dropdown-item.text-danger:hover {
    background-color: #fff5f5;
    color: var(--danger-color);
}

/* --------------------------------------------------------------------------
   Folder UI
   -------------------------------------------------------------------------- */
.folder-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.folder-header {
    transition: background-color 0.2s;
}

.folder-header:hover {
    background-color: #e9ecef !important;
}

.folder-header .transition-transform {
    transition: transform 0.2s ease-in-out;
}

.folder-header[aria-expanded="true"] .transition-transform {
    transform: rotate(180deg);
}

/* Fix for dropdown clipping in folders/lists */
.history-actions .dropdown-menu {
    z-index: 1050;
    /* Higher than most Bootstrap elements */
}

/* Ensure the container allows overflow for dropdowns */
.accordion-collapse {
    overflow: visible !important;
}

.folder-item .collapse {
    overflow: visible !important;
}

/* Fix stacking context for sidebar cards so dropdowns appear on top */
#chat-history-container {
    position: relative;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   Landing Page Modern Styles
   -------------------------------------------------------------------------- */
.p-landing__hero {
    background: linear-gradient(135deg, var(--primary-brand-color) 0%, #1a4b9c 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.p-landing__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.p-landing__hero-content {
    position: relative;
    z-index: 1;
}

.p-landing__hero-logo-container {
    background-color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem;
}

.p-landing__hero-logo-container img {
    width: 100%;
    height: auto;
}

/* Step Cards for How It Works */
.p-landing__step-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.p-landing__step-card:hover {
    transform: translateY(-5px);
}

.p-landing__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.p-landing__step-icon {
    font-size: 3rem;
    color: var(--primary-brand-color);
}

/* Hover Lift Effect Utility */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.p-landing__feature-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    height: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
}

.p-landing__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.p-landing__feature-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-brand-color);
    background: var(--light-blue-bg-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.p-landing__feature-card:hover .p-landing__feature-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-brand-color);
    color: white;
}

.p-landing__section-title {
    font-weight: 800;
    color: var(--primary-brand-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.p-landing__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.p-landing__team-card {
    background: transparent;
    border: none;
    text-align: center;
    padding: 2rem;
}

.p-landing__team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--light-blue-bg-color);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-brand-color);
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.p-landing__team-card:hover .p-landing__team-avatar {
    transform: scale(1.05);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.p-landing__cta-section {
    background: var(--light-blue-bg-color);
    border-radius: 2rem;
    padding: 5rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.p-landing__nav-link {
    font-weight: 500;
    position: relative;
}

.p-landing__nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.p-landing__nav-link:hover::after {
    width: 100%;
}