/* shared.css
    Contains: Global Variables, Navigation, Footer, and Shared Utility Classes.
    DO NOT add page-specific section styles here (use <style> in head).
*/

:root {
    /* --- Brand Color Palette --- */
    --royal-blue: #4169E1;
    --brand-orange: #FF6A00;
    
    /* --- Neutrals & UI Tokens --- */
    --text-main: #111827;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-surface: #f7f9fc;
    --bg-dark: #1f2937;
    
    /* --- Fonts --- */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==================== GLOBAL RESET / BASE ==================== */
body {
    font-family: var(--font-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* ==================== SHARED UTILITIES (Buttons) ==================== */
/* These are used in both Nav and Page content */

.text-primary-brand {
    color: var(--brand-orange) !important;
}

.text-secondary-brand {
    color: var(--royal-blue) !important;
}

.logo-img
{
    width: 220px;
}

.active {
    color: var(--brand-orange) !important;
}

/* Primary Button (Royal Blue) */
.btn-brand-primary {
    background-color: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
    background-color: #000000; /* Darker shade of Royal Blue */
    border-color: #000000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(236, 98, 0, 0.2);
}

/* Primary Button (Royal Blue) */
.btn-brand-secondary {
    background-color: var(--royal-blue);
    border: 1px solid var(--royal-blue);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-brand-secondary:hover,
.btn-brand-secondary:focus {
    background-color: #000000; /* Darker shade of Royal Blue */
    border-color: #000000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(65, 105, 225, 0.2);
}

/* Secondary/Outline Button (Orange Accent) */
.btn-outline-brand {
    background-color: transparent;
    border: 1px solid var(--brand-orange);
    color: var(--brand-orange);
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background-color: var(--brand-orange);
    color: #fff;
    transform: translateY(-1px);
}

/* ==================== NAVIGATION (shared) ==================== */
.navbar {
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.25rem;
}

.navbar-brand span {
    color: var(--text-main);
}

.nav-link {
    font-weight: 500;
    color: #000;
    font-size: 0.95rem;
    margin-right: 1rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-link:hover {
    color: var(--brand-orange);
}

/* Mobile Toggler Customization */
.navbar-toggler {
    border: none;
    padding: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.dropdown-menu {
    min-width: 250px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.dropdown-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    font-size: 1.2rem;
    color: var(--brand-orange);
    margin-top: 2px;
}

.dropdown-item:hover {
    background: rgba(0,0,0,0.04);
    transform: translateX(3px);
}

.dropdown-item small {
    display: block;
    font-size: 0.75rem;
}

#solutionsDropdown + .dropdown-menu {
    min-width: 550px;
}

@media (max-width: 600px) {
    #solutionsDropdown + .dropdown-menu {
        scrollbar-width: thin;
        padding-bottom: 1rem !important;
        min-width: 300px;
        max-height: 500px;
        overflow-y: scroll;
    }

    #solutionsDropdown + .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    #solutionsDropdown + .dropdown-menu::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 10px;
    }
}


/* ==================== FOOTER (shared) ==================== */
.site-footer {
    background-color: var(--bg-dark);
    color: #9ca3af; /* Light gray for text on dark bg */
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.site-footer .footer-heading {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
}

.site-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.site-footer .footer-links a {
    color: #9ca3af;
}

.site-footer .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer .footer-trust-line {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    margin-top: 20px;
}