/* Global header, mobile menu and footer styles (previously injected by header.js) */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}
html {
    scroll-padding-top: 60px;
}
body {
    padding-top: 60px;
}

/* ── ANNOUNCEMENT BAR ── */
#announcement-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 36px;
    background: linear-gradient(90deg, #021944 0%, #38a1f7 50%, #021944 100%);
    z-index: 9998;
    overflow: hidden;
    display: flex;
    align-items: center;
}
#announcement-bar .ticker-wrap {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
}
#announcement-bar .ticker-item {
    font-size: 0.76rem;
    font-weight: 500;
    color: #fff;
    padding: 0 3rem;
    letter-spacing: 0.5px;
}
#announcement-bar .ticker-item span {
    color: #7dd3fc;
    font-weight: 600;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#global-header {
    all: initial;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    display: block;
}
#global-header * {
    box-sizing: border-box;
}
.gh-container {
    max-width: 90vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.gh-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.gh-logo img {
    height: 30px;
    vertical-align: middle;
}
.gh-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    height: 100%;
}
.gh-nav-item {
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}
.gh-nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.gh-nav-link:hover {
    color: #3fa6f3;
}
.gh-dropdown-arrow {
    font-size: 15px;
    margin-left: 2px;
}

/* Mega Menu */
.gh-mega-menu {
    position: absolute;
    top: 100%; 
    left: 50%; 
    transform: translateX(-35%); /* Align relative to nav item */
    background: #f0f7ff; /* Light blue background */
    width:600px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 50px 0px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    border-radius: 0 0 15px 15px;
    transition: all 0.2s ease;
    z-index: 1000;
    justify-content: space-around;
}

/* Show mega menu on hover */
.gh-nav-item:hover .gh-mega-menu {
    opacity: 1;
    visibility: visible;
}

.gh-mm-column {
    flex: 1;
    padding: 0 20px;
    text-align: center;
}

.gh-mm-title {
    font-size: 16px;
    font-weight: 700;
    color: #021944;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-bottom: 2px solid #021944;
    padding-bottom: 10px;
    min-width: 200px;
}

.gh-mm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gh-mm-list li {
    margin-bottom: 15px;
}
.gh-mm-list a {
    text-decoration: none;
    color: #3D6286;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
}
.gh-mm-list a:hover {
    color: #0B58A3;
    transform: scale(1.05); /* Subtle scale effect */
    transition: transform 0.2s, color 0.2s;
}

.gh-btn-contact { 
    color: #3F9AF3 !important; 
    padding: 7px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #3F9AF3; /* Added border for outline style */
}
.gh-btn-contact:hover {
    background-color: #3F9AF3;
    color: #fff !important; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 161, 247, 0.3);
}

/* Mobile Styles */
.gh-mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Moved out of #global-header scope in HTML, but styled here */
/* Moved out of #global-header scope in HTML, but styled here */
.gh-mobile-overlay {
    position: fixed;
    top: 60px; /* Start below header */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(0,0,0,0.5);
    z-index: 9990; /* Below header (9999) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.gh-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gh-mobile-menu {
    position: fixed;
    top: 60px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    height: auto; /* Fit content */
    max-height: calc(100vh - 60px);
    background: #f4faff;
    z-index: 9991; /* Above overlay, below header */
    padding: 30px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out, opacity 0.3s;
    transform: translateY(-150%); /* Start hidden above */
    opacity: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
}
.gh-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

/* Hide internal header since we use main header toggle */
.gh-mobile-header {
    display: none;
}
.gh-mobile-close {
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.gh-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gh-mobile-item {
    border-bottom: none;
}
.gh-mobile-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    gap: 8px;
}
.gh-mobile-link:hover {
    color: #3fa6f3;
}

/* Mobile Dropdown */
.gh-mobile-submenu {
    background: transparent;
    display: none;
    padding: 10px 0;
    margin-bottom: 10px;
    text-align: center;
}
.gh-mobile-submenu.active {
    display: block;
}
.gh-mobile-sub-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    margin: 15px 0 10px;
    font-weight: 600;
}
.gh-mobile-submenu a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #666;
    text-decoration: none;
}
.gh-mobile-submenu a:hover {
    color: #3fa6f3;
}

.gh-mobile-contact {
    display: none; /* Hide separate contact button as it's not in the image request */
}


/* Footer Styles */
#global-footer {
    background-color: #fff;
    padding: 80px 0 30px;
    color: #333;
    border-top: 1px solid #eee;
    font-family: 'Poppins', sans-serif;
}
.gf-container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
}
.gf-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}
.gf-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    text-align: center; /* Centered as per screenshot */
}
.gf-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}
.gf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gf-list li {
    margin-bottom: 12px;
}
.gf-list a {
    text-decoration: none;
    color: #555; /* Dark gray text */
    font-size: 14px;
    transition: color 0.2s;
}
.gf-list a:hover {
    color: #3fa6f3;
}

/* Social Icons */
.gf-social {
    display: flex;
    justify-content: flex-end; /* Right aligned */
    gap: 15px;
    margin-bottom: 40px;
}
.gf-social-icon {
    width: 40px;
    height: 40px;
    background-color: transparent; /* Made transparent */
    border: 1px solid #eee; /* Added border for outline look */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}
.gf-social-icon:hover {
    background-color: #3fa6f3;
    color: white;
}

/* Bottom Bar */
.gf-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #777;
}
.gf-bottom a {
    color: #777;
    text-decoration: none;
    margin-left: 20px;
}
.gf-lang {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .gh-nav { display: none; }
    .gh-btn-contact { display: none; } /* Hide button in header, show in menu */
    .gh-mobile-toggle { display: block; }
    .gh-container { justify-content: space-between; }
    
    .gf-row { flex-direction: column; text-align: center; }
    .gf-social { justify-content: center; }
    .gf-bottom { flex-direction: column; gap: 15px; }
}

/* ── FREE LIVE DEMO FORM ── (Injected Globally) */
.free-demo-section {
    background: #6296ee;
    padding: 50px 20px;
}
.free-demo-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.free-demo-inner h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.free-demo-form {
    display: flex;
    gap: 16px;
    width: 100%;
}
.free-demo-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    color: #333;
}
.free-demo-form input::placeholder {
    color: #888;
}
.btn-demo-submit {
    padding: 14px 35px;
    background-color: #fff;
    color: #558df0;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}
.btn-demo-submit:hover {
    background-color: #f0f0f0;
}
@media (max-width: 768px) {
    .free-demo-form { flex-direction: column; }
}
