/*
Theme Name: Hello Elementor Child (Albrecht Law)
Theme URI: https://albrechtlawfirm.com/
Description: Global Albrecht Law Theme Engine for Hello Elementor
Author: Albrecht Law PLLC
Author URI: https://albrechtlawfirm.com/
Template: hello-elementor
Version: 2.0.0
*/

:root {
    --alb-navy: #1b1645;
    --alb-navy-hover: #261f5c;
    --alb-teal: #54858c;
    --alb-teal-hover: #436d73;
    --alb-teal-light: #f0f7f8;
    --alb-text: #334155;
    --alb-text-light: #64748b;
    --alb-bg-alt: #f8fafc;
    --alb-border: #e2e8f0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--alb-text);
    background-color: #ffffff;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
    color: var(--alb-navy);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.75rem 0;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

* {
    box-sizing: border-box;
}

a {
    color: var(--alb-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--alb-navy);
}

.alb-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   DESKTOP NAVBAR & DROPDOWNS (ZERO WHITE GAPS)
   ========================================== */
.alb-desktop-nav-wrap {
    display: block;
}

.alb-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

.alb-nav-item {
    position: relative;
    padding: 0;
    margin: 0;
}

.alb-nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.1rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.alb-nav-link:hover, .alb-nav-item:hover > .alb-nav-link {
    color: var(--alb-teal) !important;
}

/* 1st Level Dropdown: PADDING ZERO ELIMINATES EMPTY WHITE GAPS */
.alb-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 270px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    border-radius: 8px;
    border: 1px solid var(--alb-border);
    list-style: none;
    margin: 0;
    padding: 0 !important;
    overflow: visible !important;
    display: none;
    z-index: 100000;
}

.alb-nav-item:hover > .alb-dropdown {
    display: block !important;
    animation: albDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.alb-dropdown-item {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
}
.alb-dropdown-item:last-child {
    border-bottom: none;
}
.alb-dropdown-item:first-child > .alb-dropdown-link {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.alb-dropdown-item:last-child > .alb-dropdown-link {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.alb-dropdown-link {
    padding: 12px 18px;
    color: var(--alb-navy) !important;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
    background-color: #ffffff;
}

.alb-dropdown-link:hover, .alb-dropdown-item:hover > .alb-dropdown-link {
    background-color: var(--alb-navy) !important;
    color: #ffffff !important;
    padding-left: 22px;
}
.alb-dropdown-item:hover > .alb-dropdown-link .alb-sub-icon {
    color: #ffffff !important;
}

/* 2nd Level Flyout Submenu: PADDING ZERO */
.alb-submenu {
    position: absolute;
    top: -1px;
    left: 100%;
    background-color: #ffffff;
    min-width: 270px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    border-radius: 8px;
    border: 1px solid var(--alb-border);
    list-style: none;
    margin: 0;
    padding: 0 !important;
    overflow: visible !important;
    display: none;
    z-index: 100005;
}

.alb-submenu .alb-dropdown-item:first-child > .alb-dropdown-link {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.alb-submenu .alb-dropdown-item:last-child > .alb-dropdown-link {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.alb-dropdown-item:hover > .alb-submenu {
    display: block !important;
    animation: albSubmenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes albSubmenuFadeIn {
    from {
        opacity: 0;
        transform: translateX(6px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sticky Floating CTA Button in Desktop Nav */
#alb-sticky-cta {
    display: none;
    position: absolute;
    right: 1.5rem;
    top: calc(100% + 8px);
    width: auto !important;
    max-width: 210px;
    background-color: var(--alb-navy);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    text-decoration: none;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 1000000;
    cursor: pointer;
    transition: all 0.25s ease;
}

#alb-sticky-cta:hover {
    background-color: var(--alb-navy-hover);
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}

/* ==========================================
   MOBILE HEADER & ACCORDION MENU
   ========================================== */
.alb-mobile-header-bar {
    display: none;
    background-color: #ffffff;
    padding: 0.85rem 1.25rem;
    width: 100%;
    border-bottom: 1px solid var(--alb-border);
    position: sticky;
    top: 0;
    z-index: 999999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.alb-mobile-header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.alb-hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 34px;
}

.alb-hamburger-line {
    width: 26px;
    height: 3px;
    background-color: var(--alb-navy);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Mobile Slide Down Menu */
.alb-mobile-nav-panel {
    display: none;
    background-color: #ffffff;
    width: 100%;
    border-bottom: 2px solid var(--alb-teal);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    position: absolute;
    top: 100%;
    left: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999998;
}

.alb-mobile-nav-panel.is-open {
    display: block !important;
}

.alb-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alb-m-item {
    border-bottom: 1px solid #f1f5f9;
}

.alb-m-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: var(--alb-navy);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
}

.alb-m-link-row:hover {
    color: var(--alb-teal);
    background-color: #f8fafc;
}

.alb-m-chevron {
    font-size: 1.1rem;
    color: var(--alb-navy);
    transition: transform 0.25s ease;
    padding: 4px 8px;
}

.alb-m-sublist {
    display: none;
    background-color: #f8fafc;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    border-top: 1px solid #e2e8f0;
}

.alb-m-sublist.is-expanded {
    display: block !important;
}

.alb-m-subitem {
    border-bottom: 1px solid #eef2f6;
}

.alb-m-sublink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px 11px 32px;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.alb-m-sublink:hover {
    color: var(--alb-teal);
    background-color: #ffffff;
}

/* 2nd nested sublist (e.g. under Auto Accidents) */
.alb-m-nested-list {
    display: none;
    background-color: #ffffff;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    border-left: 3px solid var(--alb-teal);
}

.alb-m-nested-list.is-expanded {
    display: block !important;
}

.alb-m-nested-link {
    display: block;
    padding: 9px 20px 9px 44px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.alb-m-nested-link:hover {
    color: var(--alb-teal);
}

/* ==========================================
   HOMEPAGE BANNER SLIDER (EXPANSIVE, NO BORDER)
   ========================================== */
.alb-hero-slider {
    position: relative;
    width: 100%;
    height: 490px;
    overflow: hidden;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;
}

.alb-hero-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}

.alb-hero-slider img.active {
    opacity: 1 !important;
}

/* ==========================================
   LOCATION CARDS (ACCURATE TO SCREENSHOT)
   ========================================== */
.alb-location-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    margin-bottom: 2.2rem;
    border: 1px solid var(--alb-border);
}

.alb-location-info {
    width: 44%;
    flex-basis: 44%;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    justify-content: center;
}

.alb-location-map {
    width: 56%;
    flex-basis: 56%;
    min-height: 320px;
    position: relative;
    background-color: #f1f5f9;
}

.alb-location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.alb-loc-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--alb-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.alb-loc-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
}

.alb-loc-btn {
    background-color: var(--alb-teal);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 2.2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    margin-top: 0.4rem;
    transition: background 0.2s ease;
}

.alb-loc-btn:hover {
    background-color: var(--alb-teal-hover);
}

/* ==========================================
   MEET THE TEAM GRID (UNIFORM & RESPONSIVE)
   ========================================== */
.alb-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.75rem;
    width: 100%;
}

.alb-team-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--alb-border);
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.alb-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.alb-team-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
}

.alb-team-name {
    color: var(--alb-navy);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
}

.alb-team-role {
    color: var(--alb-text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================
   AJAX FORM STYLING (100% FILLABLE & WORKING)
   ========================================== */
.alb-ajax-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.alb-form-input, .alb-form-textarea {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.85rem 1rem;
    color: #1e293b;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.alb-form-input:focus, .alb-form-textarea:focus {
    outline: none;
    border-color: var(--alb-teal);
    box-shadow: 0 0 0 3px rgba(84, 133, 140, 0.15);
    background-color: #ffffff;
}

.alb-form-textarea {
    resize: vertical;
    min-height: 90px;
}

.alb-form-submit {
    background-color: var(--alb-teal);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    text-align: center;
}

.alb-form-submit:hover {
    background-color: var(--alb-teal-hover);
}

.alb-form-success {
    display: none;
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (MOBILE FRIENDLY)
   ========================================== */
@media (max-width: 900px) {
    .alb-topbar-desktop { display: none !important; }
    .alb-header-desktop { display: none !important; }
    .alb-desktop-nav-wrap { display: none !important; }
    .alb-mobile-header-bar { display: block !important; }
    
    .alb-hero-slider { height: 350px !important; }
    .alb-location-card { flex-direction: column !important; }
    .alb-location-info { width: 100% !important; flex-basis: 100% !important; padding: 2rem 1.5rem !important; }
    .alb-location-map { width: 100% !important; flex-basis: 100% !important; min-height: 280px !important; }
    
    .alb-prefooter-card { flex-direction: column !important; gap: 1.5rem !important; padding: 2rem 1.5rem !important; text-align: center; }
    .alb-prefooter-card > div { width: 100% !important; flex-basis: 100% !important; justify-content: center !important; }
    .alb-footer-row { flex-direction: column !important; gap: 2.2rem !important; }
    .alb-footer-col { width: 100% !important; flex-basis: 100% !important; }
    
    .alb-layout-row { flex-direction: column !important; gap: 2rem !important; }
    .alb-left-col { width: 100% !important; flex-basis: 100% !important; }
    .alb-right-col { width: 100% !important; flex-basis: 100% !important; position: static !important; }
}

@media (max-width: 600px) {
    h1 { font-size: 1.85rem !important; }
    h2 { font-size: 1.5rem !important; }
    .alb-hero-slider { height: 260px !important; }
    .alb-team-grid { grid-template-columns: 1fr !important; }
}

/* ===================================================
   V3 ENHANCEMENTS: TEAM (3 COLUMNS), FULL-WIDTH LOCATIONS,
   SEAMLESS PRE-FOOTER, AND CF7 STYLING
   =================================================== */

/* Team Grid: 3 in a row on desktop, 1 on mobile */
.alb-team-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

@media (max-width: 991px) {
    .alb-team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .alb-team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.alb-team-card {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid var(--alb-border) !important;
    padding: 1.6rem !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.alb-team-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
}

.alb-team-img {
    width: 100% !important;
    height: 270px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin-bottom: 1.1rem !important;
    display: block !important;
}

/* Full container width locations */
.alb-locations-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.alb-location-card-full {
    background-color: #ffffff !important;
    border: 1px solid var(--alb-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: row !important;
    overflow: hidden !important;
    width: 100% !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.alb-location-card-full:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

.alb-loc-info-col {
    padding: 2.5rem 2.5rem !important;
    width: 48% !important;
    flex-basis: 48% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.alb-loc-map-col {
    width: 52% !important;
    flex-basis: 52% !important;
    min-height: 320px !important;
    display: flex !important;
}

.alb-loc-map-col iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    border: 0 !important;
}

@media (max-width: 900px) {
    .alb-location-card-full {
        flex-direction: column !important;
    }
    .alb-loc-info-col {
        width: 100% !important;
        flex-basis: 100% !important;
        padding: 1.75rem 1.5rem !important;
    }
    .alb-loc-map-col {
        width: 100% !important;
        flex-basis: 100% !important;
        min-height: 260px !important;
    }
    .alb-loc-map-col iframe {
        min-height: 260px !important;
    }
}

/* Pre-footer seamless layout */
.alb-prefooter-wrapper {
    background-color: #54858c !important;
    padding: 0 1.5rem !important;
    width: 100% !important;
    position: relative !important;
}

.alb-prefooter-card {
    background-color: #1b1645 !important;
    border-radius: 12px !important;
    padding: 2.2rem 3rem !important;
    max-width: 1140px !important;
    width: 100% !important;
    margin: -50px auto 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    position: relative !important;
    z-index: 20 !important;
}

@media (max-width: 768px) {
    .alb-prefooter-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1.75rem 1.25rem !important;
        margin: -35px auto 0 auto !important;
        gap: 1.25rem !important;
    }
    .alb-prefooter-card > div {
        width: 100% !important;
        flex-basis: 100% !important;
        justify-content: center !important;
    }
}

/* Contact Form 7 Beautiful Styling */
.alb-cf7-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    width: 100% !important;
}

.alb-cf7-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
}

.alb-cf7-field label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--alb-navy) !important;
    margin: 0 !important;
}

.alb-cf7-full {
    grid-column: span 2 !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    background-color: #f8fafc !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none !important;
    border-color: var(--alb-teal) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(84, 133, 140, 0.15) !important;
}

.alb-cf7-btn,
.wpcf7-form input[type="submit"] {
    background-color: var(--alb-teal) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 0.95rem 2rem !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background 0.2s ease !important;
}

.alb-cf7-btn:hover,
.wpcf7-form input[type="submit"]:hover {
    background-color: var(--alb-teal-hover) !important;
}

.wpcf7-response-output {
    border-radius: 6px !important;
    padding: 0.85rem 1rem !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
}

@media (max-width: 640px) {
    .alb-cf7-grid {
        grid-template-columns: 1fr !important;
    }
    .alb-cf7-full {
        grid-column: span 1 !important;
    }
}


/* ==========================================================================
   AUTHENTIC FORM DESIGN (EXACTLY MATCHING USER SCREENSHOTS media_1791802677011_da1f35f8 & media_1791802691810_4289bd02)
   ========================================================================== */

/* Banner Card Wrapper (Screenshot 1) */
.alb-banner-form-card {
    background-color: #ffffff !important;
    border-radius: 18px !important;
    padding: 2.2rem 2rem 1.8rem 2rem !important;
    box-shadow: 0 20px 45px rgba(0,0,0,0.22) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Styled Form Components */
.alb-styled-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.alb-form-group {
    margin-bottom: 0.85rem !important;
    width: 100% !important;
}

.alb-custom-input,
.wpcf7-form-control.alb-custom-input,
.alb-custom-textarea,
.wpcf7-form-control.alb-custom-textarea {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #e5e9ee !important;
    border-radius: 8px !important;
    padding: 0.95rem 1.15rem !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.alb-custom-input::placeholder,
.alb-custom-textarea::placeholder {
    color: #8c9ba5 !important;
    opacity: 1 !important;
}

.alb-custom-input:focus,
.alb-custom-textarea:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #4f828a !important;
    box-shadow: 0 0 0 3px rgba(79, 130, 138, 0.15) !important;
}

.alb-custom-textarea {
    min-height: 95px !important;
    resize: none !important;
}

/* SMS Consent Checkbox & Text */
.alb-form-consent {
    margin: 0.65rem 0 1.15rem 0 !important;
    width: 100% !important;
}

.alb-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
    font-size: 0.72rem !important;
    color: #8c9ba5 !important;
    line-height: 1.45 !important;
    cursor: pointer !important;
}

.alb-checkbox-label input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
    cursor: pointer !important;
}

.alb-checkbox-label a {
    color: #4f828a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Big Pill Submit Button */
.alb-form-submit-wrap {
    width: 100% !important;
    margin-bottom: 0.65rem !important;
}

.alb-custom-btn,
input[type="submit"].alb-custom-btn,
.wpcf7-submit.alb-custom-btn {
    background-color: #4f828a !important;
    color: #ffffff !important;
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    padding: 0.9rem 2rem !important;
    border-radius: 35px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(79, 130, 138, 0.3) !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.alb-custom-btn:hover,
input[type="submit"].alb-custom-btn:hover,
.wpcf7-submit.alb-custom-btn:hover {
    background-color: #436d73 !important;
    transform: translateY(-1px) !important;
}

/* Footer Badges under Button */
.alb-form-footer {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.25rem !important;
    width: 100% !important;
}

.alb-req-text {
    font-size: 0.76rem !important;
    color: #64748b !important;
}

.alb-lock-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.alb-privacy-subtext {
    font-size: 0.72rem !important;
    color: #8c9ba5 !important;
    line-height: 1.4 !important;
    margin-top: 0.25rem !important;
}

.alb-privacy-subtext a {
    color: #4f828a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Contact Page Big Card (Screenshot 2) */
.alb-contact-card-wrap {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    padding: 3.5rem 3rem !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 3.5rem !important;
    align-items: flex-start !important;
    border: 1px solid #edf0f3 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .alb-contact-card-wrap {
        flex-direction: column !important;
        padding: 2rem 1.5rem !important;
        gap: 2.5rem !important;
    }
}


/* SCREENSHOT 1 & 2 PIXEL-PERFECT REFINEMENTS */
.alb-styled-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.alb-styled-form p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}
.alb-styled-form br {
    display: none !important;
}
.alb-styled-form span.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}
.alb-form-group {
    margin-bottom: 0.85rem !important;
    width: 100% !important;
}
.alb-custom-input,
.wpcf7-form-control.alb-custom-input,
.alb-custom-textarea,
.wpcf7-form-control.alb-custom-textarea {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 8px !important;
    padding: 0.95rem 1.15rem !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}
.alb-custom-input::placeholder,
.alb-custom-textarea::placeholder {
    color: #8c9ba5 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}
.alb-custom-input:focus,
.alb-custom-textarea:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #4f828a !important;
    box-shadow: 0 0 0 3px rgba(79, 130, 138, 0.15) !important;
}
.alb-custom-textarea {
    min-height: 95px !important;
    resize: none !important;
}
.alb-form-consent {
    margin: 0.75rem 0 1.15rem 0 !important;
    width: 100% !important;
}
.alb-form-consent .wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
}
.alb-form-consent input[type="checkbox"] {
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
    accent-color: #4f828a !important;
    cursor: pointer !important;
}
.alb-form-consent .wpcf7-list-item-label {
    font-size: 0.72rem !important;
    color: #8c9ba5 !important;
    line-height: 1.45 !important;
}
.alb-form-submit-wrap {
    width: 100% !important;
    margin-bottom: 0.75rem !important;
}
.alb-custom-btn,
input[type="submit"].alb-custom-btn,
.wpcf7-submit.alb-custom-btn {
    background-color: #4f828a !important;
    color: #ffffff !important;
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    padding: 0.95rem 2rem !important;
    border-radius: 35px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(79, 130, 138, 0.3) !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}
.alb-custom-btn:hover,
input[type="submit"].alb-custom-btn:hover,
.wpcf7-submit.alb-custom-btn:hover {
    background-color: #436d73 !important;
    transform: translateY(-1px) !important;
}
.alb-form-footer {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.25rem !important;
    width: 100% !important;
}
.alb-req-text {
    font-size: 0.76rem !important;
    color: #64748b !important;
}
.alb-lock-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}
.alb-privacy-subtext {
    font-size: 0.72rem !important;
    color: #8c9ba5 !important;
    line-height: 1.4 !important;
    margin-top: 0.25rem !important;
}
.alb-privacy-subtext a {
    color: #4f828a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}


/* ==========================================================================
   V4 PIXEL-PERFECT COMPACT FORM STYLES (MATCHING SCREENSHOT 1 & 2 EXACTLY)
   ========================================================================== */

.alb-styled-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.alb-styled-form p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}
.alb-styled-form br {
    display: none !important;
}
.alb-styled-form span.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}
.alb-form-group {
    margin-bottom: 0.6rem !important;
    width: 100% !important;
}
.alb-custom-input,
.wpcf7-form-control.alb-custom-input,
.alb-custom-textarea,
.wpcf7-form-control.alb-custom-textarea {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 6px !important;
    padding: 0.65rem 0.95rem !important;
    color: #1e293b !important;
    font-size: 0.88rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    height: 40px !important;
}
.alb-custom-textarea,
.wpcf7-form-control.alb-custom-textarea {
    height: 75px !important;
    min-height: 75px !important;
    resize: none !important;
    padding: 0.65rem 0.95rem !important;
}
.alb-custom-input::placeholder,
.alb-custom-textarea::placeholder {
    color: #8c9ba5 !important;
    font-size: 0.88rem !important;
    opacity: 1 !important;
}
.alb-custom-input:focus,
.alb-custom-textarea:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #4f828a !important;
    box-shadow: 0 0 0 2px rgba(79, 130, 138, 0.15) !important;
}
.alb-form-consent {
    margin: 0.45rem 0 0.8rem 0 !important;
    width: 100% !important;
}
.alb-form-consent .wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
}
.alb-form-consent input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 13px !important;
    height: 13px !important;
    accent-color: #4f828a !important;
    cursor: pointer !important;
}
.alb-form-consent .wpcf7-list-item-label {
    font-size: 0.66rem !important;
    color: #8c9ba5 !important;
    line-height: 1.35 !important;
}
.alb-form-submit-wrap {
    width: 100% !important;
    margin-bottom: 0.55rem !important;
}
.alb-custom-btn,
input[type="submit"].alb-custom-btn,
.wpcf7-submit.alb-custom-btn {
    background-color: #4f828a !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(79, 130, 138, 0.25) !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}
.alb-custom-btn:hover,
input[type="submit"].alb-custom-btn:hover,
.wpcf7-submit.alb-custom-btn:hover {
    background-color: #436d73 !important;
    transform: translateY(-1px) !important;
}
.alb-form-footer {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.2rem !important;
    width: 100% !important;
}
.alb-req-text {
    font-size: 0.72rem !important;
    color: #64748b !important;
}
.alb-lock-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}
.alb-privacy-subtext {
    font-size: 0.66rem !important;
    color: #8c9ba5 !important;
    line-height: 1.35 !important;
    margin-top: 0.2rem !important;
}
.alb-privacy-subtext a {
    color: #4f828a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* COMPACT FORM V5 - SCREENSHOT 1 & 2 PIXEL PERFECT */
.alb-styled-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.alb-styled-form p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}
.alb-styled-form br {
    display: none !important;
}
.alb-styled-form span.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}
.alb-form-group {
    margin-bottom: 0.55rem !important;
    width: 100% !important;
}
.alb-custom-input,
.wpcf7-form-control.alb-custom-input,
.alb-custom-textarea,
.wpcf7-form-control.alb-custom-textarea {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 6px !important;
    padding: 0.5rem 0.85rem !important;
    color: #1e293b !important;
    font-size: 0.86rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    height: 38px !important;
}
.alb-custom-textarea,
.wpcf7-form-control.alb-custom-textarea {
    height: 68px !important;
    min-height: 68px !important;
    resize: none !important;
    padding: 0.5rem 0.85rem !important;
}
.alb-custom-input::placeholder,
.alb-custom-textarea::placeholder {
    color: #8c9ba5 !important;
    font-size: 0.86rem !important;
    opacity: 1 !important;
}
.alb-custom-input:focus,
.alb-custom-textarea:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #4f828a !important;
    box-shadow: 0 0 0 2px rgba(79, 130, 138, 0.15) !important;
}
.alb-form-consent {
    margin: 0.35rem 0 0.65rem 0 !important;
    width: 100% !important;
}
.alb-form-consent .wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
}
.alb-form-consent input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 13px !important;
    height: 13px !important;
    accent-color: #4f828a !important;
    cursor: pointer !important;
}
.alb-form-consent .wpcf7-list-item-label {
    font-size: 0.66rem !important;
    color: #8c9ba5 !important;
    line-height: 1.35 !important;
}
.alb-form-submit-wrap {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
}
.alb-custom-btn,
input[type="submit"].alb-custom-btn,
.wpcf7-submit.alb-custom-btn {
    background-color: #4f828a !important;
    color: #ffffff !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    padding: 0.7rem 1.4rem !important;
    border-radius: 30px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(79, 130, 138, 0.25) !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}
.alb-custom-btn:hover,
input[type="submit"].alb-custom-btn:hover,
.wpcf7-submit.alb-custom-btn:hover {
    background-color: #436d73 !important;
    transform: translateY(-1px) !important;
}
.alb-form-footer {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.2rem !important;
    width: 100% !important;
}
.alb-req-text {
    font-size: 0.7rem !important;
    color: #64748b !important;
}
.alb-lock-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    font-size: 0.73rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
}
.alb-privacy-subtext {
    font-size: 0.65rem !important;
    color: #8c9ba5 !important;
    line-height: 1.35 !important;
    margin-top: 0.2rem !important;
}
.alb-privacy-subtext a {
    color: #4f828a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}
/* ==========================================================================
   ALBRECHT LAW COMPACT FORM ENGINE (EXACT MATCH TO SCREENSHOT 2)
   ========================================================================== */
.alb-styled-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 10px !important;
}
.alb-styled-form .alb-form-group {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.alb-styled-form p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}
.alb-styled-form br {
    display: none !important;
}
.alb-styled-form span.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}
.alb-styled-form input[type="text"],
.alb-styled-form input[type="email"],
.alb-styled-form input[type="tel"],
.alb-styled-form .alb-custom-input,
.alb-styled-form .wpcf7-form-control.alb-custom-input {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 8px !important;
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    display: block !important;
}
.alb-styled-form textarea,
.alb-styled-form .alb-custom-textarea,
.alb-styled-form .wpcf7-form-control.alb-custom-textarea {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 8px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 85px !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    resize: none !important;
    outline: none !important;
    display: block !important;
    transition: all 0.2s ease !important;
}
.alb-styled-form input:focus,
.alb-styled-form textarea:focus {
    background-color: #ffffff !important;
    border-color: #54858c !important;
    box-shadow: 0 0 0 2px rgba(84, 133, 140, 0.18) !important;
}
.alb-styled-form input::placeholder,
.alb-styled-form textarea::placeholder {
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
    opacity: 1 !important;
}
.alb-styled-form .alb-form-consent {
    margin: 4px 0 2px 0 !important;
    width: 100% !important;
}
.alb-styled-form .alb-form-consent .wpcf7-list-item {
    margin: 0 !important;
    display: block !important;
}
.alb-styled-form .alb-form-consent label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    cursor: pointer !important;
    margin: 0 !important;
}
.alb-styled-form .alb-form-consent input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 13px !important;
    height: 13px !important;
    accent-color: #54858c !important;
    cursor: pointer !important;
}
.alb-styled-form .alb-form-consent .wpcf7-list-item-label {
    font-size: 0.65rem !important;
    line-height: 1.35 !important;
    color: #718096 !important;
    font-weight: 400 !important;
    display: block !important;
}
.alb-styled-form .alb-form-consent .wpcf7-list-item-label a {
    color: #54858c !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}
.alb-styled-form .alb-form-submit-wrap {
    width: 100% !important;
    margin: 4px 0 2px 0 !important;
}
.alb-styled-form input[type="submit"],
.alb-styled-form .alb-custom-btn,
.alb-styled-form .wpcf7-submit {
    background-color: #54858c !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(84, 133, 140, 0.28) !important;
    transition: all 0.2s ease !important;
    letter-spacing: -0.01em !important;
}
.alb-styled-form input[type="submit"]:hover,
.alb-styled-form .alb-custom-btn:hover,
.alb-styled-form .wpcf7-submit:hover {
    background-color: #456f75 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(84, 133, 140, 0.35) !important;
}
.alb-styled-form .alb-form-footer {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    width: 100% !important;
    margin-top: 4px !important;
}
.alb-styled-form .alb-req-text {
    font-size: 0.7rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}
.alb-styled-form .alb-lock-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
}
.alb-styled-form .alb-privacy-subtext {
    font-size: 0.65rem !important;
    color: #718096 !important;
    line-height: 1.35 !important;
    margin-top: 2px !important;
    max-width: 95% !important;
}
.alb-styled-form .alb-privacy-subtext a {
    color: #54858c !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   MODERN & SMOOTH PROFESSIONAL ANIMATIONS (ALBRECHT LAW THEME)
   ========================================================================== */
/* Smooth interactive cards lift on hover */
.alb-team-card,
.alb-location-card,
.alb-card-box,
.alb-prefooter-card,
.alb-article-sidebar > div,
.alb-contact-card-box {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.alb-team-card:hover,
.alb-location-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12) !important;
}
.alb-prefooter-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25) !important;
}

/* Button smooth interaction */
.alb-custom-btn,
.alb-loc-btn,
.alb-prefooter-card a,
#alb-sticky-cta,
input[type="submit"] {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.alb-custom-btn:hover,
.alb-loc-btn:hover,
.alb-prefooter-card a:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(84, 133, 140, 0.4) !important;
}

/* Scroll Reveal Animations */
.alb-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.alb-reveal.alb-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delay for grids */
.alb-team-grid .alb-team-card:nth-child(1) { transition-delay: 0.05s; }
.alb-team-grid .alb-team-card:nth-child(2) { transition-delay: 0.12s; }
.alb-team-grid .alb-team-card:nth-child(3) { transition-delay: 0.19s; }
.alb-team-grid .alb-team-card:nth-child(4) { transition-delay: 0.26s; }
.alb-team-grid .alb-team-card:nth-child(5) { transition-delay: 0.33s; }
.alb-team-grid .alb-team-card:nth-child(6) { transition-delay: 0.40s; }


/* ==========================================================================
   MASTER MOBILE & RESPONSIVE PERFECTION (HEADER, MENU, CARDS & LAYOUTS)
   ========================================================================== */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}
*, *::before, *::after {
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .alb-topbar-desktop,
    .alb-header-desktop,
    .alb-desktop-nav-wrap {
        display: none !important;
    }
    .alb-mobile-header-bar {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 999999 !important;
        background-color: #ffffff !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
        box-sizing: border-box !important;
    }
    #alb-sticky-cta {
        display: none !important;
    }

    /* Layout column responsiveness */
    .alb-layout-row {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .alb-hero-container {
        flex-direction: column !important;
        gap: 1.75rem !important;
    }
    .alb-left-col, .alb-right-col {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        position: static !important;
    }
    .alb-hero-slider {
        height: 300px !important;
        min-height: 300px !important;
        width: 100% !important;
        border-radius: 12px !important;
    }
    .alb-card-box {
        padding: 1.5rem 1.15rem 1.25rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .alb-guide-img {
        max-width: 100% !important;
        height: auto !important;
    }
    .alb-guide-card {
        max-width: 100% !important;
        padding: 1.75rem 1.25rem !important;
    }
    .alb-location-card-full {
        flex-direction: column !important;
    }
    .alb-loc-info-col, .alb-loc-map-col {
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
    .alb-loc-map-col iframe {
        height: 280px !important;
    }
    .alb-article-layout {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .alb-article-body, .alb-article-sidebar {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        position: static !important;
    }
}

.alb-mobile-header-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.alb-hamburger-btn {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    width: 40px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    z-index: 1000000 !important;
}

.alb-hamburger-line {
    width: 26px !important;
    height: 3px !important;
    background-color: #1b1645 !important;
    border-radius: 2px !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    transform-origin: center !important;
}

.alb-hamburger-btn.is-active .alb-hamburger-line:nth-child(1),
.alb-hamburger-btn.active .alb-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}
.alb-hamburger-btn.is-active .alb-hamburger-line:nth-child(2),
.alb-hamburger-btn.active .alb-hamburger-line:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}
.alb-hamburger-btn.is-active .alb-hamburger-line:nth-child(3),
.alb-hamburger-btn.active .alb-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

/* Mobile Nav Dropdown Panel */
.alb-mobile-nav-panel {
    display: none;
    background-color: #ffffff !important;
    width: 100% !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    max-height: calc(100vh - 65px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 999998 !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18) !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 4px solid #54858c !important;
    box-sizing: border-box !important;
}

.alb-mobile-nav-panel.is-open,
.alb-mobile-nav-panel.active {
    display: block !important;
    animation: albMobileSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

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

.alb-mobile-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.alb-m-item {
    border-bottom: 1px solid #f1f5f9 !important;
    list-style: none !important;
}

.alb-m-link-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 13px 18px !important;
    color: #1b1645 !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    background-color: #ffffff !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.alb-m-link-row:hover,
.alb-m-link-row:active {
    background-color: #f8fafc !important;
    color: #54858c !important;
}

.alb-m-chevron {
    font-size: 1.25rem !important;
    color: #54858c !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    min-height: 36px !important;
    user-select: none !important;
}

/* 1st Level Accordion Sublist */
.alb-m-sublist {
    display: none;
    background-color: #f8fafc !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}
.alb-m-sublist.is-expanded,
.alb-m-sublist.active {
    display: block !important;
}

.alb-m-subitem {
    border-bottom: 1px solid #edf2f7 !important;
    list-style: none !important;
}

.alb-m-sublink {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 11px 18px 11px 28px !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.94rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.alb-m-sublink:hover,
.alb-m-sublink:active {
    background-color: #ffffff !important;
    color: #54858c !important;
}

/* 2nd Level Accordion Nested List */
.alb-m-nested-list {
    display: none;
    background-color: #edf2f7 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.alb-m-nested-list.is-expanded,
.alb-m-nested-list.active {
    display: block !important;
}

.alb-m-nested-list li {
    list-style: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.alb-m-nested-link {
    display: block !important;
    padding: 10px 18px 10px 42px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.alb-m-nested-link:hover,
.alb-m-nested-link:active {
    background-color: #ffffff !important;
    color: #54858c !important;
}

@media (max-width: 640px) {
    h1 { font-size: 1.85rem !important; line-height: 1.25 !important; }
    h2 { font-size: 1.45rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1.2rem !important; }
    .alb-hero-slider {
        height: 240px !important;
        min-height: 240px !important;
    }
    .alb-team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .alb-styled-form .alb-form-group input,
    .alb-styled-form .alb-form-group textarea {
        font-size: 16px !important; /* Prevents auto-zoom on mobile safari */
    }
    .alb-contact-card-box {
        margin: 2.5rem auto 2rem auto !important;
        padding: 1.75rem 1.15rem !important;
    }
    .alb-prefooter-card {
        padding: 1.75rem 1.25rem !important;
        border-radius: 10px !important;
    }
    .alb-prefooter-card h2 {
        font-size: 1.35rem !important;
    }
    .alb-footer-col {
        width: 100% !important;
        flex-basis: 100% !important;
    }
}


/* ==========================================================================
   PERFECT STICKY MOBILE HEADER WITH SMOOTH ANIMATION & ZERO TOP GAP
   ========================================================================== */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
}

@media screen and (max-width: 900px) {
    html {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    * html body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    #wpadminbar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .alb-topbar-desktop,
    .alb-header-desktop,
    .alb-desktop-nav-wrap {
        display: none !important;
        height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .alb-mobile-header-bar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: 62px !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        z-index: 999999 !important;
        margin: 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        will-change: height, background-color, box-shadow;
    }

    .alb-mobile-header-bar.is-scrolled {
        height: 54px !important;
        background-color: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow: 0 4px 20px rgba(27, 22, 69, 0.12) !important;
        border-bottom-color: rgba(226, 232, 240, 0.8) !important;
    }

    .alb-mobile-header-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    .alb-mobile-header-spacer {
        display: block !important;
        height: 62px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }

    .alb-mobile-logo-link {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
    }

    .alb-mobile-logo-img,
    .alb-mobile-header-inner img {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        display: block !important;
        transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .alb-mobile-header-bar.is-scrolled .alb-mobile-logo-img,
    .alb-mobile-header-bar.is-scrolled .alb-mobile-header-inner img {
        height: 31px !important;
        max-height: 31px !important;
    }

    .alb-hamburger-btn {
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        width: 40px !important;
        height: 36px !important;
        box-sizing: border-box !important;
        z-index: 1000000 !important;
        flex-shrink: 0 !important;
    }

    .alb-hamburger-line {
        width: 24px !important;
        height: 3px !important;
        background-color: #1b1645 !important;
        border-radius: 2px !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.2s ease !important;
        transform-origin: center !important;
    }

    .alb-hamburger-btn.is-active .alb-hamburger-line:nth-child(1),
    .alb-hamburger-btn.active .alb-hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
        background-color: #54858c !important;
    }
    .alb-hamburger-btn.is-active .alb-hamburger-line:nth-child(2),
    .alb-hamburger-btn.active .alb-hamburger-line:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    .alb-hamburger-btn.is-active .alb-hamburger-line:nth-child(3),
    .alb-hamburger-btn.active .alb-hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
        background-color: #54858c !important;
    }

    .alb-mobile-nav-panel {
        display: none;
        background-color: #ffffff !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        max-height: calc(100vh - 62px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 999998 !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.18) !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 4px solid #54858c !important;
        box-sizing: border-box !important;
    }

    .alb-mobile-header-bar.is-scrolled .alb-mobile-nav-panel {
        max-height: calc(100vh - 54px) !important;
    }

    .alb-mobile-nav-panel.is-open,
    .alb-mobile-nav-panel.active {
        display: block !important;
        animation: albMobileSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .alb-mobile-call-cta-wrap {
        padding: 1.15rem 1.25rem 1.5rem !important;
        background-color: #1b1645 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .alb-mobile-call-cta-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        background-color: #54858c !important;
        color: #ffffff !important;
        padding: 0.85rem !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
        font-size: 1.05rem !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        transition: background-color 0.2s ease, transform 0.2s ease !important;
    }

    .alb-mobile-call-cta-btn:hover,
    .alb-mobile-call-cta-btn:active {
        background-color: #436d73 !important;
        transform: translateY(-1px) !important;
    }
}

@media screen and (min-width: 901px) {
    .alb-mobile-header-bar,
    .alb-mobile-header-spacer {
        display: none !important;
    }
}


/* ==========================================================================
   ALBRECHT LAW FLUENT FORMS MASTER STYLING (PERFECT SCREENSHOT REPLICATION)
   ========================================================================== */
.fluentform,
.fluentform .frm-fluent-form,
.fluentform_wrapper_1 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.fluentform form {
    margin: 0 !important;
    padding: 0 !important;
}

.fluentform fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.fluentform .ff-el-group {
    margin-bottom: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.fluentform .ff-el-input--label {
    display: none !important;
}

.fluentform input.ff-el-form-control,
.fluentform textarea.ff-el-form-control,
.fluentform .alb-form-control {
    width: 100% !important;
    background-color: #f4f6f8 !important;
    border: 1px solid #e5e9ee !important;
    border-radius: 8px !important;
    padding: 0.95rem 1.15rem !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
}

.fluentform input.ff-el-form-control::placeholder,
.fluentform textarea.ff-el-form-control::placeholder,
.fluentform .alb-form-control::placeholder {
    color: #8c9ba5 !important;
    opacity: 1 !important;
    font-size: 0.95rem !important;
}

.fluentform input.ff-el-form-control:focus,
.fluentform textarea.ff-el-form-control:focus,
.fluentform .alb-form-control:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #54858c !important;
    box-shadow: 0 0 0 3px rgba(84, 133, 140, 0.15) !important;
}

.fluentform textarea.ff-el-form-control {
    min-height: 90px !important;
    max-height: 110px !important;
    resize: none !important;
}

/* Terms and Conditions Checkbox & Text */
.fluentform .alb-ff-terms-group,
.fluentform .ff-el-tc {
    margin: 0.65rem 0 1.15rem 0 !important;
    width: 100% !important;
}

.fluentform .ff-el-form-check-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fluentform .ff_tc_checkbox {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

.fluentform .ff-el-form-check-input,
.fluentform .alb-form-check-input {
    width: 17px !important;
    height: 17px !important;
    accent-color: #54858c !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    margin: 0 !important;
}

.fluentform .ff_t_c {
    font-size: 0.73rem !important;
    color: #8c9ba5 !important;
    line-height: 1.45 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.fluentform .ff_t_c a {
    color: #54858c !important;
    text-decoration: underline !important;
}

/* Submit Button */
.fluentform .ff_submit_btn_wrapper,
.fluentform .alb-ff-btn-container {
    margin-top: 0.5rem !important;
    width: 100% !important;
    text-align: center !important;
}

.fluentform button.ff-btn-submit,
.fluentform .alb-ff-submit-btn {
    width: 100% !important;
    background-color: #54858c !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 1.05rem 1.5rem !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(84, 133, 140, 0.3) !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fluentform button.ff-btn-submit:hover,
.fluentform .alb-ff-submit-btn:hover {
    background-color: #436d73 !important;
    box-shadow: 0 6px 20px rgba(84, 133, 140, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* Success & Error Notifications */
.fluentform .ff-message-success {
    background-color: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
    padding: 1rem 1.25rem !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    text-align: center !important;
}

.fluentform .error text-danger,
.fluentform .text-danger,
.fluentform .ff-errors-in-stack {
    color: #dc2626 !important;
    font-size: 0.82rem !important;
    margin-top: 0.3rem !important;
}


/* ==========================================================================
   DESKTOP STICKY NAVBAR & SEAMLESS CHILD FLYOUT SUBMENUS
   ========================================================================== */
@media screen and (min-width: 901px) {
    html, body {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    .alb-desktop-nav-wrap {
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
        background-color: #1b1645 !important;
        width: 100% !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.18) !important;
        transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
    }

    /* Fixed Sticky State activated seamlessly on scroll */
    .alb-desktop-nav-wrap.alb-nav-is-sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 999999 !important;
        background-color: rgba(27, 22, 69, 0.98) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.28) !important;
        animation: albNavSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .alb-desktop-nav-spacer {
        display: none;
        width: 100%;
        height: 52px;
    }

    .alb-desktop-nav-wrap.alb-nav-is-sticky + .alb-desktop-nav-spacer {
        display: block !important;
    }

    @keyframes albNavSlideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }

    /* Floating CTA button in navbar when sticky */
    .alb-desktop-nav-wrap.alb-nav-is-sticky #alb-sticky-cta {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Level 1 Dropdown */
    .alb-dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background-color: #ffffff !important;
        min-width: 280px !important;
        box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 6px 0 !important;
        overflow: visible !important;
        display: none !important;
        z-index: 100000 !important;
    }

    .alb-nav-item:hover > .alb-dropdown,
    .alb-nav-item.is-hovered > .alb-dropdown {
        display: block !important;
        animation: albDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

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

    .alb-dropdown-item {
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .alb-dropdown-item:last-child {
        border-bottom: none !important;
    }

    .alb-dropdown-link {
        padding: 11px 18px !important;
        color: #1b1645 !important;
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-decoration: none !important;
        transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease !important;
        background-color: #ffffff !important;
    }

    .alb-dropdown-link:hover,
    .alb-dropdown-item:hover > .alb-dropdown-link,
    .alb-dropdown-item.is-hovered > .alb-dropdown-link {
        background-color: #f1f5f9 !important;
        color: #54858c !important;
        padding-left: 22px !important;
    }

    .alb-dropdown-item:hover > .alb-dropdown-link .alb-sub-icon,
    .alb-dropdown-item.is-hovered > .alb-dropdown-link .alb-sub-icon {
        color: #54858c !important;
    }

    /* Level 2 Child Flyout Submenu */
    .alb-submenu {
        position: absolute !important;
        top: -6px !important;
        left: calc(100% - 2px) !important;
        background-color: #ffffff !important;
        min-width: 275px !important;
        box-shadow: 0 18px 45px rgba(0,0,0,0.25) !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 6px 0 !important;
        overflow: visible !important;
        display: none !important;
        z-index: 100005 !important;
    }

    /* Invisible mouse bridge preventing any hover loss when crossing to child menu */
    .alb-submenu::before {
        content: '' !important;
        position: absolute !important;
        top: -10px !important;
        left: -20px !important;
        width: 25px !important;
        height: calc(100% + 20px) !important;
        background: transparent !important;
        pointer-events: auto !important;
        z-index: 0 !important;
    }

    .alb-dropdown-item:hover > .alb-submenu,
    .alb-dropdown-item.is-hovered > .alb-submenu {
        display: block !important;
        animation: albSubmenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

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


/* ==========================================================================
   PERFECT LEVEL DROPDOWN & SUBMENU ALIGNMENT (MATCHING USER RED LINE)
   ========================================================================== */
@media screen and (min-width: 901px) {
    .alb-nav-item {
        position: relative !important;
    }

    /* 1st Level Dropdown: Flush at bottom of main nav item */
    .alb-dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #ffffff !important;
        min-width: 280px !important;
        box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;
        border-radius: 0 0 8px 8px !important;
        border: 1px solid #e2e8f0 !important;
        border-top: none !important;
        list-style: none !important;
        overflow: visible !important;
        display: none !important;
        z-index: 100000 !important;
    }

    .alb-nav-item:hover > .alb-dropdown,
    .alb-nav-item.is-hovered > .alb-dropdown {
        display: block !important;
        animation: albDropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    /* Dropdown Items: Position static so submenu aligns with top of dropdown container */
    .alb-dropdown-item {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .alb-dropdown-item:last-child {
        border-bottom: none !important;
    }

    .alb-dropdown-link {
        padding: 12px 18px !important;
        color: #1b1645 !important;
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-decoration: none !important;
        transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease !important;
        background-color: #ffffff !important;
    }

    .alb-dropdown-link:hover,
    .alb-dropdown-item:hover > .alb-dropdown-link,
    .alb-dropdown-item.is-hovered > .alb-dropdown-link {
        background-color: #1b1645 !important;
        color: #ffffff !important;
        padding-left: 22px !important;
    }

    .alb-dropdown-item:hover > .alb-dropdown-link .alb-sub-icon,
    .alb-dropdown-item.is-hovered > .alb-dropdown-link .alb-sub-icon {
        color: #ffffff !important;
    }

    /* 2nd Level Child Flyout Submenu: ALIGNED EXACTLY AT TOP LEVEL (FLUSH WITH MAIN NAV ITEM) */
    .alb-submenu {
        position: absolute !important;
        top: 0 !important;
        left: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #ffffff !important;
        min-width: 275px !important;
        box-shadow: 0 18px 45px rgba(0,0,0,0.25) !important;
        border-radius: 0 0 8px 8px !important;
        border: 1px solid #e2e8f0 !important;
        border-top: none !important;
        list-style: none !important;
        overflow: visible !important;
        display: none !important;
        z-index: 100005 !important;
    }

    /* Mouse bridge to prevent any hover gap between columns */
    .alb-submenu::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -20px !important;
        width: 25px !important;
        height: 100% !important;
        background: transparent !important;
        pointer-events: auto !important;
        z-index: 0 !important;
    }

    .alb-dropdown-item:hover > .alb-submenu,
    .alb-dropdown-item.is-hovered > .alb-submenu {
        display: block !important;
        animation: albSubmenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

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