/* =========================================
   LAYOUT.CSS - (Header, Footer, Reset)
   ========================================= */

:root {
    --vanguard-red: #bd0029;
    --vanguard-dark-red: #8e1026;
    --text-primary: #1e1e1e;
    --text-secondary: #555;
    --nav-border: #e8e8e8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =========================================
   MODULE: HEADER
   ========================================= */
.vg-header {
    --vg-red: #bd0029;
    --vg-dark-red: #951a1d;
    --vg-text-main: #1e1e1e;
    --vg-text-sub: #5e5e5e;
    --vg-border: #d8d8d8;
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1030;
    background-color: #fff; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-bottom: 1px solid transparent; 
}
.vg-header-layout {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; 
    padding-top: 18px; padding-bottom: 15px; width: 100%; margin: 0 auto; transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.vg-brand { order: 1; display: flex; align-items: center; }
.vg-utility { order: 2; display: flex; gap: 35px; }
.vg-row-break { order: 3; flex-basis: 100%; width: 100%; height: 1px; background-color: #e5e5e5; margin: 15px 0; }
.vg-nav { order: 4; display: flex; list-style: none; padding: 0; margin: 0; gap: 40px; }
.vg-cta-wrapper { order: 5; display: block; }

.vg-brand__logo { color: var(--vg-dark-red); font-family: "Times New Roman", Times, serif; font-weight: 900; font-size: 1.8rem; letter-spacing: -0.5px; text-decoration: none; line-height: 1; }
.vg-brand__logo img{height:26px;}
.vg-brand__sep { height: 24px; width: 1px; background-color: var(--vg-border); margin: 0 18px; display: block; }
.vg-brand__tagline { color: var(--vg-text-sub); font-size: 1rem; white-space: nowrap; display: block; }

.vg-utility__item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #333; gap: 8px; min-width: 50px; }
.vg-utility__icon { font-size: 22px; -webkit-text-stroke: 0.5px white; }
.vg-utility__text { font-size: 13px; }

.vg-nav__link { text-decoration: none; color: var(--vg-text-main); font-size: 15px; font-weight: 400; display: flex; align-items: center; gap: 6px; white-space: nowrap; position: relative; transition: color 0.3s ease; }
.vg-nav__link::before { content: ''; position: absolute; top: -20px; bottom: -20px; left: -20px; right: -20px; z-index: 1; cursor: pointer; }
.vg-nav__caret { font-size: 10px; margin-top: 2px; }

.vg-btn-account { display: flex; align-items: center; gap: 8px; background-color: #fff; color: #000; border: 2px solid #000; border-radius: 50px; padding: 7px 24px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.vg-btn-account:hover { background-color: #000; color: #fff; }

.vg-header--fixed { height: 72px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); display: flex; align-items: center; }
.vg-header--fixed .container { display: flex; height: 100%; }
.vg-header--fixed .vg-header-layout { flex-wrap: nowrap; align-items: center; padding-top: 0; padding-bottom: 0; }
.vg-header--fixed .vg-row-break, .vg-header--fixed .vg-cta-wrapper, .vg-header--fixed .vg-brand__sep, .vg-header--fixed .vg-brand__tagline { display: none !important; }
.vg-header--fixed .vg-brand { position: relative; order: 1; margin-right: 70px !important; }
.vg-header--fixed .vg-brand__logo { font-size: 1.5rem; }
.vg-header--fixed .vg-brand::after { content: ''; position: absolute; right: -35px; top: 50%; transform: translateY(-50%); width: 1px; height: 24px; background-color: #d8d8d8; display: block; }
.vg-header--fixed .vg-nav { order: 2; position: static !important; animation: slideIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.vg-header--fixed .vg-nav::before { display: none !important; }
.vg-header--fixed .vg-utility { order: 3; margin-left: auto; gap: 0; }
.vg-header--fixed .vg-utility__item { display: none; }
.vg-header--fixed .vg-utility__item:nth-child(2) { display: flex; transform: scale(0.9); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

/* Mega Menu */
.vg-nav__item { position: static; }
.vg-nav__link::after { content: ''; position: absolute; bottom: -24px; left: 0; width: 0%; height: 3px; background-color: #1e1e1e; z-index: 1050; transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.vg-nav__item.show .vg-nav__link::after { width: 100%; }
.vg-nav__item.show .vg-nav__caret { transform: rotate(180deg); transition: transform 0.3s ease; }
.vg-dropdown { position: absolute; left: 0; top: 100%; width: 100%; background-color: #fff; border-top: 1px solid #e5e5e5; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
.vg-nav__item.show .vg-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.vg-dropdown__inner { display: flex; min-height: 380px; }
.vg-dropdown__content { flex: 1; padding: 40px 40px 40px 0; }
.vg-dropdown__sidebar { width: 300px; background-color: #f9f9f9; padding: 40px 0 40px 30px; border-left: 1px solid #f0f0f0; position: relative; }
.vg-dropdown__sidebar::before { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 100vw; background-color: #f9f9f9; }
.vg-dd-title { font-size: 0.9rem; font-weight: 700; color: #1e1e1e; margin-bottom: 20px; display: block; }
.vg-dd-list { list-style: none; padding: 0; margin: 0; }
.vg-dd-list li { margin-bottom: 12px; }
.vg-dd-list a { color: #333; font-size: 0.9rem; text-decoration: none; font-weight: 400; transition: color 0.2s; line-height: 1.4; display: block; }
.vg-dd-list a:hover { color: var(--vg-red); text-decoration: underline; }

/* =========================================
   MODULE: MOBILE HEADER
   ========================================= */
@media (max-width: 991.98px) {
    .vg-header-mobile { position: fixed; top: 0; left: 0; width: 100%; height: 72px; background: #fff; z-index: 1030; border-bottom: 1px solid #f0f0f0; }
    .vg-mobile-layout { display: flex; align-items: center; justify-content: space-between; height: 100%; position: relative; }
    .mobile-logo-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #951a1d; font-family: "Times New Roman", Times, serif; font-weight: 800; font-size: 1.6rem; text-decoration: none; letter-spacing: -0.5px; }
    .vg-mobile-btn { background: none; border: none; padding: 0; display: flex; align-items: center; justify-content: center; color: #1e1e1e; min-width: 44px; }
    .hamburger-icon { width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }
    .hamburger-icon span { display: block; width: 100%; height: 2px; background-color: #1e1e1e; border-radius: 2px; }
    .search-trigger { flex-direction: column; gap: 2px; }
    .search-trigger i { font-size: 20px; margin-bottom: 1px; }
    .search-label { font-size: 11px; color: #444; font-weight: 400; line-height: 1; font-family: sans-serif; }
}

/* =========================================
   MODULE: FOOTER (Pixel Perfect Redesign)
   ========================================= */
.footer-nav-section { background-color: #f9f9f9; padding: 60px 0 40px; border-top: 1px solid #eee; }
.footer-nav-title { font-size: 0.9rem; font-weight: 700; color: #1e1e1e; margin-bottom: 16px; }
.footer-link-list { list-style: none; padding: 0; margin: 0; }
.footer-link-list li { margin-bottom: 12px; }
.footer-link-list a { color: #333; font-size: 0.9rem; text-decoration: none; font-weight: 400; transition: color 0.2s; }
.footer-link-list a:hover { color: #bd0029; text-decoration: underline; }

.footer-corp-section { background-color: #fff; padding: 50px 0 60px; border-top: 1px solid #e5e5e5; }
.footer-logo { font-family: "Times New Roman", Times, serif; font-weight: 900; font-size: 1.6rem; color: #bd0029; text-decoration: none; letter-spacing: -0.5px; display: inline-block; }
.footer-corp-title { font-size: 0.85rem; font-weight: 700; color: #1e1e1e; margin-bottom: 16px; }

.footer-social-icons { display: flex; gap: 12px; margin-bottom: 24px; }
.footer-social-icons a { width:45px; height: 45px; border: 1px solid #1e1e1e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1e1e1e; text-decoration: none; transition: all 0.2s; }
.footer-social-icons a:hover { background-color: #1e1e1e; color: #fff; }
.footer-social-icons i { font-size: 18px; }

.footer-app-badges { display: flex; gap: 10px; }
.btn-app-badge { background-color: #000; color: #fff; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 6px; text-decoration: none; transition: opacity 0.2s; min-width: 135px; }
.btn-app-badge:hover { opacity: 0.8; color: #fff; }
.btn-app-badge i { font-size: 24px; margin-right: 10px; }
.badge-text { display: flex; flex-direction: column; line-height: 1; }
.badge-text span { font-size: 9px; font-weight: 400; }
.badge-text strong { font-size: 14px; font-weight: 600; }

.footer-legal-section { background-color: #000; padding: 50px 0 60px; color: #fff; }
.legal-text { font-size: 13px; line-height: 1.5; color: #fff; margin-bottom: 0; }
.legal-text a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-text a:hover { color: #ccc; }
.legal-copyright { font-size: 12px; line-height: 1.5; color: #fff; border-top: 1px solid #333; padding-top: 20px; }
.legal-copyright a { color: #fff; font-weight: 700; text-decoration: underline; }

@media (max-width: 991.98px) {
    .footer-nav-section { padding: 40px 0 20px; }
    .footer-link-list { margin-bottom: 20px; }
    .footer-app-badges { flex-direction: column; align-items: flex-start; }
    .footer-social-icons { margin-top: 10px; }
}