/* header.css */
.ams-header {
    width: 100%;
    font-family: var(--ams-body-font, sans-serif);
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Announcement Bar */
.ams-announcement-bar {
    background: var(--ams-accent-red, #F0274A);
    color: var(--ams-white, #fff);
    display: flex;
    align-items: stretch;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
}
.ams-announcement-label {
    background: rgba(0, 0, 0, 0.15); /* Slightly darker */
    padding: 0 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
.ams-marquee-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.ams-marquee {
    display: flex;
    white-space: nowrap;
    animation: ams-marquee-scroll var(--marquee-speed, 20s) linear infinite;
}
.ams-marquee span {
    padding-right: 50px;
}
@keyframes ams-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ams-announcement-controls {
    padding: 0 15px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.1);
    z-index: 2;
}
.ams-marquee-pause {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
.ams-marquee-pause:hover {
    opacity: 0.8;
}

/* Top Bar */
.ams-top-bar {
    background: var(--ams-primary-blue, #0E88D3);
    color: var(--ams-white, #fff);
    font-size: 13px;
}
.ams-top-bar-inner {
    max-width: var(--ams-container-width, 1320px);
    margin: 0 auto;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ams-top-bar-contact {
    display: flex;
    gap: 20px;
}
.ams-top-bar-contact a {
    color: var(--ams-white, #fff);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}
.ams-top-bar-contact a:hover {
    opacity: 0.8;
}
.ams-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.ams-icon-circle.blue-icon {
    background: var(--ams-dark-blue, #1357D5);
}
.ams-top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ams-follow-us {
    margin-right: 5px;
    font-weight: 500;
}
.ams-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease;
}
.ams-social-icon:hover {
    transform: translateY(-2px);
}
.ams-social-icon.fb { background: #1877F2; }
.ams-social-icon.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.ams-social-icon.tw { background: #000000; }
.ams-social-icon.yt { background: #FF0000; }
.ams-social-icon.tk { background: #000000; }
.ams-social-icon.pt { background: #E60023; }
.ams-social-icon.twch { background: #9146FF; }

/* Main Header */
.ams-main-header {
    background: var(--ams-white, #fff);
    height: var(--ams-header-height, 80px);
}
.ams-main-header-inner {
    max-width: var(--ams-container-width, 1320px);
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ams-header-logo {
    display: flex;
    align-items: center;
}
.ams-header-logo img {
    max-height: calc(var(--ams-header-height, 80px) - 20px);
    width: auto;
}
.ams-header-logo-text {
    font-family: var(--ams-heading-font, sans-serif);
    font-size: 24px;
    font-weight: bold;
    color: var(--ams-primary-blue, #0E88D3);
    text-decoration: none;
}

/* Centered Navigation */
.ams-header-nav-wrap {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.ams-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.ams-menu > li > a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    padding: 28px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}
.ams-menu > li > a:hover {
    color: var(--ams-primary-blue, #0E88D3);
}
/* Removed red underline indicator as requested */

/* CTA & Toggle Container */
.ams-header-cta-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Primary Button */
.ams-btn-primary {
    background: var(--ams-accent-red, #F0274A); /* Override based on mockup */
    color: #fff;
    padding: 10px 15px 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}
.ams-btn-primary:hover {
    background: #d01d3c;
    color: #fff;
}
.ams-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fff;
    color: var(--ams-accent-red, #F0274A);
    border-radius: 50%;
}
.ams-btn-primary.full-width {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Mobile Toggle */
.ams-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ams-primary-blue, #0E88D3);
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu Container */
.ams-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.ams-mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.ams-mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0; /* Anchor to right */
    width: 85%;
    max-width: 340px; /* Make it narrower as requested */
    height: 100vh;
    background: var(--ams-white, #fff);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.ams-mobile-menu-container.is-open {
    transform: translateX(0);
}
.ams-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}
.ams-mobile-logo img {
    max-height: 40px;
    width: auto;
}
.ams-mobile-logo .ams-header-logo-text {
    font-size: 18px;
}
.ams-mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}
.ams-mobile-menu-body {
    padding: 0 20px 30px 20px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ams-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ams-mobile-menu-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Reduced padding to bring items much closer */
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}
.ams-mobile-menu-list > li > a::after {
    content: '>';
    font-family: monospace;
    font-size: 18px;
    color: #999;
}

/* Mobile Extras (Contact/Social) */
.ams-mobile-extras {
    margin-top: 30px;
}
.ams-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.ams-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.ams-mobile-social {
    margin-bottom: 20px;
}
.ams-mobile-social .ams-follow-us {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}
.ams-mobile-social-icons {
    display: flex;
    gap: 10px;
}
.ams-mobile-cta-wrap {
    margin-top: 10px;
}

/* Sticky Header */
.ams-header.is-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    animation: ams-slide-down 0.3s ease-in-out;
}
@keyframes ams-slide-down {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .ams-header-nav-wrap,
    .ams-header-cta-wrap .ams-btn-primary {
        display: none;
    }
    .ams-mobile-toggle {
        display: block;
    }
}
@media (max-width: 767px) {
    .ams-top-bar {
        display: none; /* Hide top bar on mobile */
    }
    .ams-announcement-label {
        display: none; /* Hide label on small mobile to save space */
    }
}
