
/* Custom Fresh Link Glassmorphism Header */
.main-header.header-freshlink {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
}

.main-header.header-freshlink .header-top,
.main-header.header-freshlink .header-upper {
    display: none !important;
}

.main-header.header-freshlink .header-lower {
    background: transparent !important;
    padding: 28px 0 0;
}

.main-header.header-freshlink.fixed-header .header-lower {
    padding: 14px 0 14px;
}

/* Base Shell */
.main-header.header-freshlink .fl-header-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 26px;
    background: rgba(10, 18, 12, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.main-header.header-freshlink.fixed-header .fl-header-shell {
    background: rgba(10, 18, 12, 0.62);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

/* Decorative Spin Background */
.main-header.header-freshlink .fl-header-shell::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 160deg, 
        rgba(39, 174, 96, 0.0), 
        rgba(39, 174, 96, 0.35), 
        rgba(241, 196, 15, 0.28), 
        rgba(39, 174, 96, 0.0));
    opacity: 0.55;
    filter: blur(12px);
    animation: flHeaderSpin 10s linear infinite;
    pointer-events: none;
}

.main-header.header-freshlink .fl-header-shell::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 25px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

@keyframes flHeaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.main-header.header-freshlink .fl-header-shell > * {
    position: relative;
    z-index: 2;
}

/* Brand Section */
.main-header.header-freshlink .fl-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.main-header.header-freshlink .fl-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.main-header.header-freshlink .fl-logo img {
    width: 66px;
    height: auto;
    display: block;
}

/* Desktop Navigation Alignment */
.main-header.header-freshlink .nav-outer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center !important;
    width: auto;
}

.main-header.header-freshlink .main-menu .navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.main-header.header-freshlink .main-menu .navigation > li {
    margin: 0;
    padding: 0;
}

.main-header.header-freshlink .main-menu .navigation > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 999px;
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: capitalize;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.main-header.header-freshlink .main-menu .navigation > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Submenu Styling */
.main-header.header-freshlink .main-menu .navigation li.dropdown ul {
    position: absolute;
    left: 0;
    top: 100%;
    width: 280px;
    padding: 20px 0;
    margin: 15px 0 0;
    background: rgba(10, 18, 12, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
}

.main-header.header-freshlink .main-menu .navigation li.dropdown:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-header.header-freshlink .main-menu .navigation li.dropdown ul li {
    position: relative;
    padding: 0 12px;
    margin-bottom: 4px;
    width: 100%;
}

.main-header.header-freshlink .main-menu .navigation li.dropdown ul li a {
    display: block;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
}

.main-header.header-freshlink .main-menu .navigation li.dropdown ul li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #f1c40f;
    font-size: 14px;
}

.main-header.header-freshlink .main-menu .navigation li.dropdown ul li a:hover {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    padding-left: 24px;
}

/* Arrow indicator rotated */
.main-header.header-freshlink .main-menu .navigation li.dropdown > a::after {
    content: "\f107";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    margin-left: 8px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.main-header.header-freshlink .main-menu .navigation li.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Actions */
.main-header.header-freshlink .fl-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-header.header-freshlink .fl-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.95), rgba(39, 174, 96, 0.95));
    color: #ffffff !important;
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 20px 40px rgba(11, 26, 17, 0.22);
}

.main-header.header-freshlink .mobile-nav-toggler {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(11, 26, 17, 0.08);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main-header.header-freshlink .mobile-nav-toggler .icon {
    color: #ffffff;
    font-size: 22px;
}

@media (max-width: 1199px) {
    .main-header.header-freshlink .fl-cta { display: none; }
}

@media (max-width: 991px) {
    .main-header.header-freshlink .main-menu { display: none; }
    .main-header.header-freshlink .nav-outer { position: static; transform: none; }
    .main-header.header-freshlink .header-lower { padding-top: 16px; }
}
