/* ==========================================================================
   FOOTER STYLES - Loaded on all pages that include footer
   ========================================================================== */

   .site-footer { background-color: var(--footer-bg, #1a1a1a); color: var(--footer-text, #fff); padding: var(--footer-padding-y, 48px) 0 calc(var(--footer-padding-y, 48px)/2); margin-top: var(--footer-margin-top, 64px); }
   .site-footer .container{width: calc(100% - 258px) !important;}
.footer-content {
   display: grid;
   gap: var(--footer-gap, 24px);
   margin-bottom: 2rem;
}

.footer-brand-links {
   grid-template-columns: 1.2fr 470px auto;
   align-items: start;
}

.footer-brand .footer-logo-img, .footer-brand .custom-logo { 
   max-width: var(--footer-logo-max-width, 200px); 
   max-height: var(--footer-logo-max-height, 80px);
   height: auto; 
   width: auto;
}

.footer-address { color: var(--footer-link, #cfd8dc); margin-top: 1rem; }

.footer-address p { font-size: var(--font-size-base, 16px)!important; }

.footer-links-heading { color: var(--footer-text, #fff); margin: 0 0 1rem; font-size: 28px; font-weight: 700 !important;}

/* Footer menus */
#footer-menu { list-style: none; padding: 0; margin: 0;  font-size: var(--font-size-base, 16px)!important;}
#footer-menu li { margin: 0.25rem 0; }
#footer-menu a { color: var(--footer-link, #cfd8dc); text-decoration: none; }
#footer-menu a:hover { color: var(--footer-link-hover, #fff); text-decoration: underline; }

/* Social icons row */
.footer-social ul { display: flex; gap: 0.75rem; list-style: none; padding: 0; margin: -4px 0 0; }
.footer-social a { display: inline-flex; width: var(--social-size, 40px); height: var(--social-size, 40px); border-radius: 50%; background: rgba(255,255,255,0.08); color: var(--footer-text,#fff); align-items: center; justify-content: center; transition: background-color .3s ease; }
.footer-social a:hover { background: rgba(255,255,255,0.2); }

.footer-section h3 {
   color: var(--footer-text, #fff);
   margin-bottom: 1rem;
   font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
   color: var(--footer-link, #ccc);
   line-height: 1.6;
}

.footer-section a:hover {
   color: var(--footer-link-hover, #fff);
}

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

.footer-section li {
   margin-bottom: 0.5rem;
}

/* Social Links */
.social-links {
   margin-top: 0;
}

.social-links ul {
   display: flex;
   gap: 1rem;
   list-style: none;
   padding: 0;
}

.social-links a {
   display: inline-block;
   width: 40px;
   height: 40px;
   background-color: transparent;
   border-radius: 50%;
   text-align: center;
   line-height: 40px;
   color: #fff;
   transition: background-color 0.3s ease;
}

.social-links a:hover {
   background-color: #0073aa;
   text-decoration: none;
}

/* Site Info */
.site-info { text-align: center; padding-top: 2rem; border-top: 1px solid var(--footer-divider, #333); color: #cdd1d4; font-size: 0.9rem; }

.footer-bottom {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 1rem;
}

/* Decorative bars at very bottom (matches provided image) */
/* .footer-bars {
 margin-top: 2rem;
} */
.footer-bars .bar {
 height: 10px;
}
.footer-bars .bar--dark { background: #144264; }
.footer-bars .bar--cyan {background: #06b3ea;height: 19px;}
.footer-bars .bar--white {background: #ffffff;height: 4px;}
.footer-bars .bar--blue { background: #0b58a5; height: 13px;}

.footer-bottom a {
   color: #ccc;
}

.footer-bottom a:hover {
   color: #fff;
}

/* Back to Top Button */
.back-to-top {
   position: fixed;
   bottom: 2rem;
   right: 2rem;
   width: 50px;
   height: 50px;
   background-color: #0073aa;
   color: #fff;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   text-decoration: none;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
   z-index: 1000;
   box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.back-to-top:hover {
   background-color: #005a87;
   transform: translateY(-2px);
   text-decoration: none;
   color: #fff;
}

.back-to-top.show {
   opacity: 1;
   visibility: visible;
}

/* Responsive Footer */

/* @media (max-width: 992px) {
   .footer-brand-links {
       grid-template-columns: repeat(3, 1fr);
   }
} */

@media (max-width: 992px) {
   .footer-content {
       grid-template-columns: 1fr;
       text-align: center;
       margin: unset;
   }
   .site-footer .container{width:calc(100% - 40px) !important}
   .footer-bottom {
       flex-direction: column;
       text-align: center;
   }
   
   .social-links ul {
       justify-content: center;
   }
   
   .back-to-top {
       bottom: 1rem;
       right: 1rem;
       width: 45px;
       height: 45px;
   }

   .footer-address p,
   #footer-menu {
       font-size: 18px !important;
   }

   .footer-links-heading {
       font-size: 28px !important;
   }
   
}




