/* AMZ One Step — homepage header and footer on every inner page.
   Loaded by layouts/main.blade.php next to the old site CSS, so every rule is scoped to #header or footer.amz-footer
   and nothing else on the page is affected. Rules mirror front/css/main.css (the homepage stylesheet). */
@font-face { font-family: 'AMZ Kumbh'; src: url('../fonts/KumbhSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AMZ Kumbh'; src: url('../fonts/KumbhSans-SemiBold.ttf') format('truetype'); font-weight: 600 700; font-display: swap; }

/* ---------- Header ---------- */
#header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 1030; background-color: #18273B !important; padding: 12px 0; font-family: 'AMZ Kumbh', 'Kumbh Sans', sans-serif; box-shadow: none; }
#header .row { margin-left: 0; margin-right: 0; }
#header .navbar { padding: 0; background: transparent; }
#header a.navbar-brand { margin-left: 0; margin-right: 0; padding: 0; }
#header a.navbar-brand img { width: 150px; max-width: 100%; height: auto; }
#header .navbar-expand-lg .navbar-collapse { flex-direction: column; }
#header .navbar-expand-lg .navbar-nav { border: 1px solid #fff; border-radius: 30px; width: fit-content; margin: 0 auto; padding: 0; }
#header .navbar li.nav-item { padding-left: 3px; padding-right: 3px; list-style: none; }
#header .navbar a.nav-link { color: #fff; margin-top: 3px; margin-bottom: 3px; border-radius: 19px; padding: 8px 21px !important; font-size: 16px; width: 100%; text-decoration: none; white-space: nowrap; }
#header .navbar-nav .nav-link:hover, #header .navbar-nav .nav-link:focus { background: #FD7E14; color: #fff; }
#header .dropdown { position: relative; }
#header .dropdown-toggle::after { display: inline-block; margin-left: .3em; vertical-align: .2em; content: ""; border-top: .3em solid; border-right: .3em solid transparent; border-left: .3em solid transparent; border-bottom: 0; }
#header .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 1000; min-width: 12rem; margin-top: 4px; padding: .5rem 0; background: #fff; border: 1px solid rgba(0, 0, 0, .15); border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
#header .dropdown-menu.show { display: block; }
#header .dropdown-menu li { list-style: none; }
#header .dropdown-item { display: block; width: 100%; padding: .4rem 1.25rem; color: #212529; font-size: 15px; white-space: nowrap; text-decoration: none; }
#header .dropdown-item:hover, #header .dropdown-item:focus { color: #000; background-color: unset; text-decoration: underline; }
#header .project-cta { display: inline-block; border: 1px solid #FD7E14; background: #FD7E14; color: #fff !important; border-radius: 20px; padding: 10px 20px; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; }
#header .project-cta:hover { filter: brightness(1.05); }
#header .btn-primary { min-width: 125px; font-size: 17px; color: #fff; border: 1px solid #63EC9F; background: transparent; border-radius: 20px; padding: 10px 20px; }
#header .btn-primary:hover { background-color: #63EBA4; border-color: #63EC9F; }
#header .navbar-toggler { border: 0; }
#header .navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle; background: no-repeat center / 80% auto url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
#header .gap-2 { gap: .5rem; }

@media (min-width: 992px) and (max-width: 1399px) {
  #header .navbar a.nav-link { font-size: 14px; padding: 2px 17px !important; }
  #header .btn-primary { font-size: 13px; padding: 7px 14px; }
  #header a.dropdown-item { font-size: 13px; }
}
@media (max-width: 991.98px) {
  #header .project-cta { padding: 8px 14px; font-size: 12px; }
  #header .navbar-toggler { color: #fff; background-color: #FD7E14; border: 0; padding: 3px 7px; border-radius: 6px; }
  #header .navbar-toggler:focus { box-shadow: none; outline: 0; }
  #header .navbar > .container-fluid { display: flex; align-items: flex-end; justify-content: flex-end; padding-right: 0; }
  #header .navbar-expand-lg .navbar-nav { border: 0; border-radius: 22px; width: fit-content; min-width: 280px; text-align: left; margin: 8px 0 0; padding: 8px; background: #000; position: absolute; right: 0; }
  #header .navbar li.nav-item { text-align: left; }
  #header .dropdown-menu { position: static; box-shadow: none; }
}

/* Inner pages load Bootstrap 4 + the old site CSS; these keep the homepage look on top of them */
#header a.navbar-brand { flex: 0 0 auto !important; max-width: none !important; width: auto !important; }
#header .navbar-nav { flex: 0 0 auto !important; max-width: none !important; }
#header .navbar a.nav-link { color: #fff !important; text-transform: none; letter-spacing: normal; }
#header .dropdown-item { color: #212529 !important; }
#header .nav-item { background: transparent !important; border: 0 !important; }
#header .btn { text-transform: none !important; letter-spacing: normal !important; font-family: 'AMZ Kumbh', 'Kumbh Sans', sans-serif !important; box-shadow: none !important; line-height: 1.5; }
#header .btn.project-cta { border: 1px solid #FD7E14 !important; background: #FD7E14 !important; color: #fff !important; font-weight: 700; min-width: 0; }

/* ---------- Footer ---------- */
section#footer.green-bg-2 { width: 100%; margin: 0 auto; padding-top: 70px; padding-bottom: 0; background-image: url('../images/footer.webp'); background-repeat: no-repeat; background-size: cover; border-radius: 20px 20px 0 0; }
@media (max-width: 767px) { section#footer.green-bg-2 { width: 96%; padding-top: 20px; background-position: center; border-radius: 20px; } }
footer.amz-footer { font-family: 'AMZ Kumbh', 'Kumbh Sans', sans-serif; background: none; color: #212529; padding: 0; margin: 0; }
footer.amz-footer h5, footer.amz-footer h6 { font-family: 'AMZ Kumbh', 'Kumbh Sans', sans-serif; font-weight: 600; color: #132235; text-transform: none; letter-spacing: normal; }
footer.amz-footer h6 { font-size: 40px; line-height: 1.2; margin: 0 0 8px; }
footer.amz-footer h5 { font-size: 24px; line-height: 1.2; margin: 0 0 20px; color: #212529; }
footer.amz-footer h6.orange { color: #FD7E17; }
footer.amz-footer p { color: #212529; }
footer.amz-footer a { text-decoration: none; }
footer.amz-footer .nav-item { position: relative; font-weight: 500; margin-bottom: 7px; margin-left: 20px; font-size: 18px; color: #1E1E1E; list-style: none; }
footer.amz-footer .nav-item::before { display: block; width: 7px; height: 7px; position: absolute; content: ""; margin-left: -20px; background: #000; border: 1px solid #63EC9F; margin-top: 8px; }
footer.amz-footer .nav-link { color: rgba(33, 37, 41, .75); padding: 0; font-size: inherit; }
footer.amz-footer p { font-size: 16px; }
footer.amz-footer .footer-links { padding-left: 0; }
footer.amz-footer .footer-links li { display: inline-block; list-style: none; }
footer.amz-footer .footer-links a { text-decoration: none; color: #1E1E1E; padding-left: 3px; padding-right: 3px; }
footer.amz-footer img, footer.amz-footer svg { max-width: 100%; }
footer.amz-footer .gap-2 { gap: .5rem; }

@media (max-width: 767px) {
  footer.amz-footer, footer.amz-footer p, footer.amz-footer .footer-links { text-align: center; }
  footer.amz-footer .nav-item { margin-left: unset; font-size: 14px; margin-bottom: 3px !important; }
  footer.amz-footer .nav-item::before { display: none; }
  footer.amz-footer .nav-item a::before { content: ""; width: 7px; height: 7px; margin-right: 10px; background: #000; border: 1px solid #63EC9F; display: inline-block; }
  footer.amz-footer p { font-size: 14px; }
  footer.amz-footer .footer-links { font-size: 13px; margin-left: 0; padding-left: 0; }
  footer.amz-footer .footer-logo { max-width: 150px; }
}
@media (min-width: 576px) and (max-width: 1199px) {
  footer.amz-footer .d-flex.flex-column.flex-sm-row.justify-content-between.my-2 { flex-direction: column !important; }
  footer.amz-footer .footer-logo { max-width: 150px; display: block; margin: auto; }
  footer.amz-footer h6 { font-size: 18px; display: inline-block; margin: 0 10px; }
  footer.amz-footer .col-md-12.col-lg-3 { margin-bottom: 40px !important; text-align: center; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  footer.amz-footer p, footer.amz-footer .footer-links { text-align: center; }
  footer.amz-footer .nav-item { margin-left: unset; font-size: 14px; margin-bottom: 3px !important; }
  footer.amz-footer .nav-item::before { display: none; }
  footer.amz-footer .nav-item a::before { content: ""; width: 7px; height: 7px; margin-right: 10px; background: #000; border: 1px solid #63EC9F; display: inline-block; }
  footer.amz-footer .footer-links { font-size: 13px; margin-left: 0; padding-left: 0; }
}
