/* ===================================
   NAVIGATION CSS v6.9 - CACHE BUSTED
   If you see this comment, the new navigation CSS loaded successfully
   =================================== */

/**
 * Navigation & Dropdown Menu Styles
 * JD Stride v5.2
 */

/* Main Navigation Bar */
.nav-bar {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E3DF;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A1628;
}

.logo a {
    color: #0A1628;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
    width: auto;
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Top-level menu items */
.nav-links > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-links > li > a {
    display: block;
    padding: 10px 20px;
    color: #8B8680;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links > li > a:hover {
    color: #2E5BFF;
}

/* Dropdown indicator arrow */
.nav-links li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.nav-links li.menu-item-has-children:hover > a::after {
    transform: rotate(-180deg);
}

/* Dropdown/Submenu Container */
.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #FFFFFF;
    border: 1px solid #E5E3DF;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Show dropdown on hover */
.nav-links li:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

/* Submenu items */
.nav-links .sub-menu li {
    margin: 0;
    padding: 0;
}

.nav-links .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #0A1628;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.nav-links .sub-menu a:hover {
    background: #F8F7F5;
    color: #2E5BFF;
    padding-left: 25px;
}

/* Third-level dropdown (if needed) */
.nav-links .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 1px;
}

/* Active/Current menu item */
.nav-links .current-menu-item > a,
.nav-links .current-page-ancestor > a {
    color: #2E5BFF;
    font-weight: 600;
}

/* CTA Section */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    color: #0A1628;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-number:hover {
    color: #2E5BFF;
}

/* Mobile Menu Toggle (for future) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0A1628;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none; /* Hide on mobile - can add mobile menu later */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .phone-number {
        display: none;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-content {
        padding: 15px 0;
    }
}

/* Logo sizing */
.custom-logo {
    max-height: 32px !important;
    width: auto !important;
}

.logo .custom-logo-link {
    display: inline-block;
    line-height: 1;
}

/* ===================================
   BUTTON STYLES FOR NAVIGATION
   =================================== */

    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===================================
   FOOTER STYLES
   =================================== */

.footer-section {
    background: #0A1628;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}


.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer Responsive */
@media (max-width: 968px) {

/* ===================================
   FOOTER STYLES - ALIGNED
   =================================== */

.footer-section {
    background: #0A1628;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start; /* This aligns columns to top */
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    margin-top: 0; /* Remove any top margin */
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 0;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0; /* Align headers to same level */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===================================
   FOOTER STYLES - FORCED ALIGNMENT
   =================================== */

.footer-section {
    background: #0A1628 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 80px 0 40px !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 60px !important;
    margin-bottom: 60px !important;
    align-items: start !important;
}

.footer-content > div {
    margin-top: 0 !important;
}

.footer-brand {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

.footer-tagline {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-address {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    margin-top: 0 !important;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
}

.footer-section h4 {
    color: #FFFFFF !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
}

.footer-section li {
    margin-bottom: 12px !important;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s !important;
}

.footer-section a:hover {
    color: #FFFFFF !important;
}

.footer-bottom {
    text-align: center !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* ===================================
   BUTTON STYLES - COMPLETE
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

/* Orange CTA button */
.btn-orange {
    background: #FF6B35 !important;
    color: #FFFFFF !important;
    border-color: #FF6B35 !important;
}

.btn-orange:hover {
    background: #e55a28 !important;
    border-color: #e55a28 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Primary button (blue/dark) */
.btn-primary {
    background: #2E5BFF !important;
    color: #FFFFFF !important;
    border-color: #2E5BFF !important;
}

.btn-primary:hover {
    background: #1e4bef !important;
    border-color: #1e4bef !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 91, 255, 0.3);
}

/* Outline button - light text on dark backgrounds */
.btn-outline {
    background: transparent !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* Dark outline button for light backgrounds */
.btn-outline-dark {
    background: transparent !important;
    color: #0A1628 !important;
    border-color: #E5E3DF !important;
}

.btn-outline-dark:hover {
    background: #0A1628 !important;
    color: #FFFFFF !important;
    border-color: #0A1628 !important;
}

/* Navigation specific button sizing */
.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===================================
   FOOTER FIX - BODY CLASS SPECIFIC
   =================================== */

/* Force footer styling on ALL pages including PPC Audit */
body .footer-section,
.footer-section {
    background: #0A1628 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 80px 0 40px !important;
    text-align: left !important;
}

body .footer-content,
.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 60px !important;
    margin-bottom: 60px !important;
    align-items: start !important;
    text-align: left !important;
}

body .footer-brand,
.footer-brand {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    text-align: left !important;
}

body footer,
footer {
    background: #0A1628 !important;
    text-align: left !important;
}

body footer p,
footer p {
    text-align: left !important;
}

/* ===================================
   FOOTER COLUMN FIX
   =================================== */

.footer-column {
    margin-top: 0 !important;
}

.footer-column h4 {
    color: #FFFFFF !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-column li {
    margin-bottom: 12px !important;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s !important;
}

.footer-column a:hover {
    color: #FFFFFF !important;
}

/* ===================================
   FOOTER - NUCLEAR FIX FOR PPC AUDIT PAGE
   Ensures footer displays correctly on ALL pages
   =================================== */

/* Force footer structure */
body footer.footer-section,
footer.footer-section,
.footer-section {
    background: #0A1628 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 80px 0 40px !important;
    text-align: left !important;
}

body .footer-content,
.footer-section .footer-content,
.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 60px !important;
    margin-bottom: 60px !important;
    align-items: start !important;
    text-align: left !important;
}

/* Force footer columns */
body .footer-column,
.footer-section .footer-column,
.footer-column {
    margin-top: 0 !important;
    text-align: left !important;
}

body .footer-brand,
.footer-section .footer-brand,
.footer-brand {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    text-align: left !important;
}

body .footer-tagline,
.footer-section .footer-tagline,
.footer-tagline {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

body .footer-address,
.footer-section .footer-address,
.footer-address {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    margin-top: 0 !important;
}

body .footer-address a,
.footer-section .footer-address a,
.footer-address a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
}

body .footer-column h4,
.footer-section .footer-column h4,
.footer-column h4 {
    color: #FFFFFF !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body .footer-column ul,
.footer-section .footer-column ul,
.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
}

body .footer-column li,
.footer-section .footer-column li,
.footer-column li {
    margin-bottom: 12px !important;
}

body .footer-column a,
.footer-section .footer-column a,
.footer-column a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s !important;
}

body .footer-column a:hover,
.footer-section .footer-column a:hover,
.footer-column a:hover {
    color: #FFFFFF !important;
}

body .footer-bottom,
.footer-section .footer-bottom,
.footer-bottom {
    text-align: center !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

body .footer-bottom p,
.footer-section .footer-bottom p,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.5) !important;
    text-align: center !important;
}

/* Footer Responsive */
@media (max-width: 968px) {
    body .footer-content,
    .footer-section .footer-content,
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}
